tacker.agent.linux.utils module

tacker.agent.linux.utils.create_process(cmd, root_helper=None, addl_env=None, debuglog=True)

Create a process object for the given command.

The return value will be a tuple of the process object and the list of command arguments used to create it.

tacker.agent.linux.utils.execute(cmd, root_helper=None, process_input=None, addl_env=None, check_exit_code=True, return_stderr=False, debuglog=True)

Retrieve a list of the pids of child processes of the given pid.