Lines Matching refs:subprocess
10 import subprocess
22 return subprocess.Popen(args, stdout=subprocess.PIPE).communicate()[0]
98 p = subprocess.Popen(
99 ['sudo', '-nv'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
100 stderr=subprocess.STDOUT)
112 subprocess.check_call(['sudo', '-v']) # Synchronously authenticate.
118 subprocess.check_call(['sudo', 'chmod', '+s', application])
120 stderror_destination = subprocess.PIPE
124 return subprocess.Popen(
125 args, stdout=subprocess.PIPE, stderr=stderror_destination)