Lines Matching defs:subprocess
37 import subprocess
171 pstree_out = subprocess.check_output(['pstree', '-p', '%s' % pid])
197 subprocess.call(['sudo', 'pkill', '-STOP', 'session_manager'])
200 subprocess.call(['sudo', 'pkill', '-CONT', 'session_manager'])
251 p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE,
252 stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True)