Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
2+6 =