On Thu, Jan 10, 2013 at 7:01 AM, Karim kliat...@gmail.com wrote:
Hello all,
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
On 10/01/2013 09:31, Hugo Arts wrote:
On Thu, Jan 10, 2013 at 7:01 AM, Karim kliat...@gmail.com
mailto:kliat...@gmail.com wrote:
Hello all,
I want to run multiline shell command within python without using
a command file but directly execute several lines of shell.
I already
Have you looked a the pexpect class? It works like gangbusters, especially
if you're trying to run something with an interactive shell.
http://www.noah.org/wiki/pexpect
On Thu, Jan 10, 2013 at 9:25 AM, Karim kliat...@gmail.com wrote:
On 10/01/2013 09:31, Hugo Arts wrote:
On Thu, Jan 10,
On 10/01/2013 16:21, Matty Sarro wrote:
Have you looked a the pexpect class? It works like gangbusters,
especially if you're trying to run something with an interactive shell.
http://www.noah.org/wiki/pexpect
On Thu, Jan 10, 2013 at 9:25 AM, Karim kliat...@gmail.com