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.
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
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
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'