Re: looking for a better way to call a file.

2006-12-31 Thread [EMAIL PROTECTED]
Thanks I will give that a try.. should clean up my code quite a bit. James Thiele wrote: > This probably will meet your needs: > > import os > os.system("csound play.orc play.sco") > > If you need more control try the subprocess module. > > [EMAIL PROTECTED] wrote: > > I have been auto-generatin

Re: looking for a better way to call a file.

2006-12-31 Thread James Thiele
This probably will meet your needs: import os os.system("csound play.orc play.sco") If you need more control try the subprocess module. [EMAIL PROTECTED] wrote: > I have been auto-generating .bat files and then running > os.startfile('whatever.bat'). I don't > seem to be having much luck when I

looking for a better way to call a file.

2006-12-30 Thread [EMAIL PROTECTED]
I have been auto-generating .bat files and then running os.startfile('whatever.bat'). I don't seem to be having much luck when I try other methods. All of a sudden I am stuck in a situation where I need the program that is calling to end and a new program to start (because otherwise I get several