in reply to Ending system() calls after certain time period.

Fork. The child execute the system call, the parent sleeps the desired time and then send the message.

If the child terminates before the timeout, wakes the parent and the message is not sent.

Could it work?

Careful with that hash Eugene.

  • Comment on Re: Ending system() calls after certain time period.