Re: Subprocess module: running an interactive shell

2009-03-15 Thread Joe Tyson
On 2009-03-14 20:10:29 -0400, Karthik Gurusamy said: On Mar 14, 3:03 am, Roman Medina-Heigl Hernandez wrote: Karthik Gurusamy escribió: On Mar 13, 6:39 pm, Roman Medina-Heigl Hernandez wrote: Hi, I'm experimenting with Python and I need a little help with this. What I'd like is to

Re: Subprocess module: running an interactive shell

2009-03-14 Thread Karthik Gurusamy
On Mar 14, 3:03 am, Roman Medina-Heigl Hernandez wrote: > Karthik Gurusamy escribió: > > > > > On Mar 13, 6:39 pm, Roman Medina-Heigl Hernandez > > wrote: > >> Hi, > > >> I'm experimenting with Python and I need a little help with this. What I'd > >> like is to launch an interactive shell, having

Re: Subprocess module: running an interactive shell

2009-03-14 Thread Roman Medina-Heigl Hernandez
Karthik Gurusamy escribió: > On Mar 13, 6:39 pm, Roman Medina-Heigl Hernandez > wrote: >> Hi, >> >> I'm experimenting with Python and I need a little help with this. What I'd >> like is to launch an interactive shell, having the chance to send first >> several commands from python. I've written th

Re: Subprocess module: running an interactive shell

2009-03-13 Thread Karthik Gurusamy
On Mar 13, 6:39 pm, Roman Medina-Heigl Hernandez wrote: > Hi, > > I'm experimenting with Python and I need a little help with this. What I'd > like is to launch an interactive shell, having the chance to send first > several commands from python. I've written the following code: > > =

Subprocess module: running an interactive shell

2009-03-13 Thread Roman Medina-Heigl Hernandez
Hi, I'm experimenting with Python and I need a little help with this. What I'd like is to launch an interactive shell, having the chance to send first several commands from python. I've written the following code: = #!/usr/bin/env python import sys, subprocess exe = "/bin/sh" param