i'm looking for a way to:
1. start a new process (exec(), proc_open(), popen(), whatever())
2. sleep(some_secs );
3. if the process is still running, kill it.
4. otherwise, go to 1.
any ideas on this?
--
daniel
1. start a new process (exec(), proc_open(), popen(), whatever())
2. sleep(some_secs );
3. if the process is still running, kill it.
4. otherwise, go to 1.
any ideas on this?
--
daniel
Comment