Re: subprocess.Popen on Windows

2008-10-21 Thread Werner F. Bruhin
Werner F. Bruhin wrote: I am trying to use subprocess - it basically works but. command = 'ping ' + '-n '+ str(count) + ' -l ' + str(size) + ' ' + str(node) print command p = subprocess.Popen(command, stdin=subprocess.PIPE,

Re: subprocess.Popen on Windows

2008-10-20 Thread Eric Carlson
Werner F. Bruhin wrote: I am trying to use subprocess - it basically works but. command = 'ping ' + '-n '+ str(count) + ' -l ' + str(size) + ' ' + str(node) print command p = subprocess.Popen(command, stdin=subprocess.PIPE,

Re: subprocess.Popen on Windows

2006-06-25 Thread Uri Nix
Hi, Been there - try looking at: http://groups.google.com/group/comp.lang.python/browse_frm/thread/f2cb83e948326ff5/d69feabbfc940b01?q=uri.nix&rnum=2#d69feabbfc940b01 Cheers, Uri -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess.Popen on Windows

2006-06-24 Thread mmamsch
On 23.06.2006 23:12:02, "3c273" wrote: >"madpython" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> playing with subprocess.Popen on Windows I stumbled into the following >> problem: >> Python 2.4.3 (#69, Mar 29 2006, 17:35:34) >> >> IDLE 1.1.3 >> >> >>> import subprocess >> >>> p1=

Re: subprocess.Popen on Windows

2006-06-23 Thread 3c273
"madpython" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > playing with subprocess.Popen on Windows I stumbled into the following > problem: > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) > > IDLE 1.1.3 > > >>> import subprocess > >>> p1=subprocess.Popen("c:\\asd.bat") #works OK > >>> p