Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python subprocess redirect a file

print subprocess.Popen("echo Hello World", shell=True, stdout=subprocess.PIPE).stdout.read()
Source by code-examples.net #
 
PREVIOUS NEXT
Tagged: #python #subprocess #redirect #file
ADD COMMENT
Topic
Name
7+8 =