Functions
rocon_python_utils::system::pid Namespace Reference

Functions

def pid_exists
 PID.
def wait_pid

Function Documentation

PID.

Check whether pid exists in the current process table.

Definition at line 23 of file pid.py.

def rocon_python_utils.system.pid.wait_pid (   pid,
  timeout = None 
)
Wait for process with pid 'pid' to terminate and return its
exit status code as an integer.

If pid is not a children of os.getpid() (current process) just
waits until the process disappears and return None.

If pid does not exist at all return None immediately.

Raise TimeoutExpiredError on timeout expired (if specified).

Definition at line 35 of file pid.py.



rocon_python_utils
Author(s): Daniel Stonier
autogenerated on Fri May 2 2014 10:35:39