Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to run bash script in python

import subprocess
print "start"
subprocess.call("sleep.sh")
print "end"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #run #bash #script #python
ADD COMMENT
Topic
Name
3+9 =