How to run multiline shell command within python
kliateni at gmail.com
Thu Jan 10 07:01:24 CET 2013
I want to run multiline shell command within python without using a
command file but directly execute several lines of shell.
I already use *subprocess.checkoutput("csh -f my_file.csh".split())* but
I want to know if it is posssible to avoid making file and execute
shell lines of code directly.
cat<<EOF > myfile
More information about the Python-list