[IPython-user] Re: os.startfile -> infinite loop
tpop.news at gmail.com
Mon Sep 5 15:05:43 CDT 2005
I use subprocess w/ 2.3 (and installed it from the web site mentioned above)
it works nicely.
subprocess.call( [ 'program', 'arg1' , ...] )
rather than os.startfile (which is win32 only)
On 9/1/05, Robert Kern <rkern at ucsd.edu> wrote:
> Fernando Perez wrote:
> > Oops, I forgot to finish that: the above is because subprocess appeared
> > in python 2.4, while ipython supports 2.2 and 2.3 users.
> FYI, subprocess.py can be dropped in as-is for 2.3 at least. It might
> also be compatible 2.2, but I've never checked.
> I think Tom's suggestion to use subprocess might be for Ryan to replace
> os.startfile() in the script rather than you to replace %run.
> Robert Kern
> rkern at ucsd.edu
> "In the fields of hell where the grass grows high
> Are the graves of dreams allowed to die."
> -- Richard Harter
> IPython-user mailing list
> IPython-user at scipy.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user