You may check out the http://pexpect.sourceforge.net/ module. This gives you pretty good control over running processes. It even allows you to "interact" with them.Regards,MichaelOn Nov 28, 2005, at 4:00 PM, [EMAIL PROTECTED] wrote:From: Glen <[EMAIL PROTECTED]> Date: November 28, 2005 2:10:05 P
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