Re: os.execv Overhead

2009-09-17 Thread Nobody
On Wed, 16 Sep 2009 08:12:50 -0700, mark.mcdow...@gmail.com wrote: > I have a script that automates running a program X times by preparing > the required files and passing the external program right variables. > > What I am unsure about though is the overhead of: > > program = "externalSc

Re: os.execv Overhead

2009-09-16 Thread Jim Wilson
On 09/16/2009 11:12 AM, mark.mcdow...@gmail.com wondered about: > overhead of [fork/exec]: An alternative might be os.spawn?(), etal. It might run a tiny bit faster because it combines the two operations, but I think you're pretty close to the metal. Jim -- http://mail.python.org/mailman/list