Re: python and command shell on Windows

2009-12-16 Thread eric_dex...@msn.com
On Dec 16, 11:58 am, josu wrote: > Hi > > I am trying to execute a windows command based on a shell by mean of > python. I have proven subprocess > > test=subprocess.Popen > (['shell_command'],shell=True,stdin=PIPE,stdout=PIPE) > > Initally, all seems ok, but, after seconds the python shell is fro

python and command shell on Windows

2009-12-16 Thread josu
Hi I am trying to execute a windows command based on a shell by mean of python. I have proven subprocess test=subprocess.Popen (['shell_command'],shell=True,stdin=PIPE,stdout=PIPE) Initally, all seems ok, but, after seconds the python shell is frozen. Does someone know alternative ways valid fo