[Tutor] # what do I do now to kill the the Windows program which has finished its work?

2009-04-25 Thread Ian Campbell
but does not return the taskID # what do I do now to kill the the Windows program which has finished its work? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] # what do I do now to kill the the Windows program which has finished its work?

2009-04-25 Thread Alan Gauld
Ian Campbell ian-campb...@shaw.ca wrote os.startfile(c:\\buy.exe , 'OPEN')# THIS WORKS and returns but does not return the taskID Take a look at the subprocess module. # what do I do now to kill the the Windows program which has finished its work? This is trickier, if the program

Re: [Tutor] # what do I do now to kill the the Windows program which has finished its work?

2009-04-25 Thread Kent Johnson
On Sat, Apr 25, 2009 at 11:35 AM, Ian Campbell ian-campb...@shaw.ca wrote: I am converting a Windows ProComm script into Python and  need help. ;  previous Procomm  script here run c:\buy.exe taskId                ; this runs the c:\buy.exe program and assigns the  task identification number