Re: Executing a python script while it is running

2009-06-17 Thread Aaron Brady
On Jun 16, 3:48 pm, Zach Hobesh wrote: > > A lot more information would be useful.  What version of Python, and what > > operating system environment?  Exactly what would you like to happen when > > the batch file is invoked a second time? > > I'm running Python 2.6.2 on Windows.  I'm passing file

Re: Executing a python script while it is running

2009-06-17 Thread bobicanprogram
On Jun 17, 1:42 am, Zach Hobesh wrote: > On Tue, Jun 16, 2009 at 6:37 PM, Chris Rebert wrote: > > On Tue, Jun 16, 2009 at 6:21 PM, wrote: > >> Hey Dave, > > >> Thanks for the helpful responses. > > >>> Option 2 is what you get by default. Naturally it depends on what the > >>> application is us

Re: Re: Executing a python script while it is running

2009-06-16 Thread Zach Hobesh
On Tue, Jun 16, 2009 at 6:37 PM, Chris Rebert wrote: > On Tue, Jun 16, 2009 at 6:21 PM, wrote: >> Hey Dave, >> >> Thanks for the helpful responses. >> >>> Option 2 is what you get by default.  Naturally it depends on what the >>> application  is using to launch the batch file, but the most common

Re: Executing a python script while it is running

2009-06-16 Thread Lie Ryan
Zach Hobesh wrote: >> A lot more information would be useful. What version of Python, and what >> operating system environment? Exactly what would you like to happen when >> the batch file is invoked a second time? > > I'm running Python 2.6.2 on Windows. I'm passing filenames to the > batch fi

Re: Re: Executing a python script while it is running

2009-06-16 Thread Chris Rebert
On Tue, Jun 16, 2009 at 6:21 PM, wrote: > Hey Dave, > > Thanks for the helpful responses. > >> Option 2 is what you get by default.  Naturally it depends on what the >> application  is using to launch the batch file, but the most common cases >> will launch a separate process. > > The app ended up

Re: Re: Executing a python script while it is running

2009-06-16 Thread hobesh
Hey Dave, Thanks for the helpful responses. Option 2 is what you get by default. Naturally it depends on what the application is using to launch the batch file, but the most common cases will launch a separate process. The app ended up delaying starting the second batch file until it finis

Re: Executing a python script while it is running

2009-06-16 Thread Dave Angel
Zach Hobesh wrote: A lot more information would be useful. What version of Python, and what operating system environment? Exactly what would you like to happen when the batch file is invoked a second time? I'm running Python 2.6.2 on Windows. I'm passing filenames to the batch files and

Re: Executing a python script while it is running

2009-06-16 Thread Zach Hobesh
> A lot more information would be useful.  What version of Python, and what > operating system environment?  Exactly what would you like to happen when > the batch file is invoked a second time? I'm running Python 2.6.2 on Windows. I'm passing filenames to the batch files and I need all filenames

Re: Executing a python script while it is running

2009-06-16 Thread Dave Angel
Zach Hobesh wrote: Hi everybody, Here's my situation: I have a batch file that calls a python script. This batch file is triggered by an outside application when the application completes a task. The problem is that while the batch file (and pythons script) is running, the application will co

Re: Executing a python script while it is running

2009-06-16 Thread Grant Edwards
On 2009-06-16, Zach Hobesh wrote: > I have a batch file that calls a python script. > > This batch file is triggered by an outside application when the > application completes a task. The problem is that while the batch > file (and pythons script) is running, the application will complete > the

Re: Executing a python script while it is running

2009-06-16 Thread Gary Herron
Zach Hobesh wrote: Hi everybody, Here's my situation: I have a batch file that calls a python script. This batch file is triggered by an outside application when the application completes a task. The problem is that while the batch file (and pythons script) is running, the application will co

Executing a python script while it is running

2009-06-16 Thread Zach Hobesh
Hi everybody, Here's my situation: I have a batch file that calls a python script. This batch file is triggered by an outside application when the application completes a task. The problem is that while the batch file (and pythons script) is running, the application will complete the next task,