Re: Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-04-07 Thread Adriaan Renting
Thanks, that explains a lot. Adriaan Renting. >>> On 4/6/2011 at 07:43 PM, Dan Stromberg wrote: > On Wed, Apr 6, 2011 at 12:47 AM, Adriaan Renting wrote: >> >> >> This solves the problem using stdin=open(os.devnull, 'rb') instead of >> stdin=None makes it run even if there is input from stdi

Re: Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-04-06 Thread Nobody
On Wed, 06 Apr 2011 09:47:21 +0200, Adriaan Renting wrote: > This solves the problem using stdin=open(os.devnull, 'rb') instead of > stdin=None makes it run even if there is input from stdin in the > foreground process. > > The operating system is Ubuntu 8.04 > I understood what Suspended (tty in

Re: Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-04-06 Thread Dan Stromberg
On Wed, Apr 6, 2011 at 12:47 AM, Adriaan Renting wrote: > > > This solves the problem using stdin=open(os.devnull, 'rb') instead of > stdin=None makes it run even if there is input from stdin in the > foreground process. > > The operating system is Ubuntu 8.04 > I understood what Suspended (tty in

Re: Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-04-06 Thread Adriaan Renting
>>> On 4/1/2011 at 07:33 AM, Kushal Kumaran wrote: > On Fri, Apr 1, 2011 at 4:31 AM, Adriaan Renting wrote: >> L.S. >> >> I have a problem that a background process that I'm trying to start with >> subprocess.Popen gets interrupted and starts waiting for input no matter >> what I try to do to

Re: Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-03-31 Thread Kushal Kumaran
On Fri, Apr 1, 2011 at 4:31 AM, Adriaan Renting wrote: > L.S. > > I have a problem that a background process that I'm trying to start with > subprocess.Popen gets interrupted and starts waiting for input no matter > what I try to do to have it continue to run. It happens when I run it > with nohup

Behaviour of subprocess.Popen, ssh and nohup I don't understand

2011-03-31 Thread Adriaan Renting
L.S. I have a problem that a background process that I'm trying to start with subprocess.Popen gets interrupted and starts waiting for input no matter what I try to do to have it continue to run. It happens when I run it with nohup in the background. I've tried to find a solution searching the int