Subject: Re: problem with opening a new python program in a new window (and keeping track of the process)

2010-11-03 Thread Zak Kinion
quot;] > for i in range (3): >  processes.append (subprocess.Popen (cmd, > creationflags=subprocess.CREATE_NEW_CONSOLE)) > > # > # Keep looping round to see the current status > # > while True: >  for p in processes: >    print p.poll () > >  raw_input () > > > > TJG > > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Zak Kinion zkin...@gmail.com (702) 287-5613 -- http://mail.python.org/mailman/listinfo/python-list

problem with opening a new python program in a new window (and keeping track of the process)

2010-11-02 Thread Zak Kinion
cript in the same console. Yes, I have read I can do this in linux with Konsole or whatever like: child = subprocess.Popen("konsole -e python foo.py", shell=True) however, I need this to run in windows. Any help or solution is appreciated, -- Zak Kinion zkin...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list