Re: How to stop a linux process

2005-12-09 Thread Michael Williams
28, 2005 2:10:05 PM EST To: python-list@python.org Subject: How to stop a linux process When I used the following line to play a midi file in linux, return_value = os.system('timidity test.mid') I have encountered two problems. 1. The python script halts until timidity has finished.

Re: How to stop a linux process

2005-11-28 Thread Glen
Simon Brunning wrote: > The subprocess module might be worth a look. That looks about right for what I need (once I understand it!). Thanks very much. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to stop a linux process

2005-11-28 Thread Simon Brunning
On 11/28/05, Glen <[EMAIL PROTECTED]> wrote: > When I used the following line to play a midi file in linux, > > return_value = os.system('timidity test.mid') > > I have encountered two problems. > 1. The python script halts until timidity has finished. > 2. If I had control of the script, I can't t

How to stop a linux process

2005-11-28 Thread Glen
When I used the following line to play a midi file in linux, return_value = os.system('timidity test.mid') I have encountered two problems. 1. The python script halts until timidity has finished. 2. If I had control of the script, I can't think how I would stop timidity. Any advice on the 'area'