Re: [PHP] [Q] Exec'ing a command

2008-06-28 Thread Per Jessen
Eric Gorr wrote: > Hopefully this will be clear. > > I've got a unix command-line app which I will be exec'ing (or some > other similar command) from a php script. > > The special property of this unix app is that while it executes and > terminates quickly, only a single instance can be running

Re: [PHP] [Q] Exec'ing a command

2008-06-27 Thread Eric Gorr
On Jun 27, 2008, at 3:18 PM, Daniel Brown wrote: On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr <[EMAIL PROTECTED]> wrote: Now, one possible solution to this problem is that the php script adds it's request to run the unix app to a queue and their is some other code which pulls a request off

Re: [PHP] [Q] Exec'ing a command

2008-06-27 Thread Daniel Brown
On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr <[EMAIL PROTECTED]> wrote: > > Now, one possible solution to this problem is that the php script adds it's > request to run the unix app to a queue and their is some other code which > pulls a request off the queue, performs the operation and returns the d

[PHP] [Q] Exec'ing a command

2008-06-27 Thread Eric Gorr
Hopefully this will be clear. I've got a unix command-line app which I will be exec'ing (or some other similar command) from a php script. The special property of this unix app is that while it executes and terminates quickly, only a single instance can be running at any one time. Howev