« Previous | Next » 

Revision 7167159a


Added by Michael Hanselmann over 15 years ago

utils.KillProcess: Use waitpid() to wait for child processes

Sometimes the proc filesystem doesn't reflect the current status of
a process. By calling waitpid(), we make sure to get the current
information, at least for child processes. The timeout is still
kept for child processes to make sure the proc filesystem is updated.

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences