Re: [PHP] Startinga shell process with a life of its own

2006-07-12 Thread Robert Cummings
On Wed, 2006-07-12 at 17:26, Richard Lynch wrote: > Oh yeah, you can maintain progressive status on multiple "tasks" in > all the cron jobs/dbs, and then make pretty graphs for the user to > look at as they check back in to see how far along things are. > > I do that a lot -- A few minutes of codi

Re: [PHP] Startinga shell process with a life of its own

2006-07-12 Thread Richard Lynch
Oh yeah, you can maintain progressive status on multiple "tasks" in all the cron jobs/dbs, and then make pretty graphs for the user to look at as they check back in to see how far along things are. I do that a lot -- A few minutes of coding for eye candy for the suits does wonders sometimes... Pl

Re: [PHP] Startinga shell process with a life of its own

2006-07-11 Thread Kevin Waterson
This one time, at band camp, "Daevid Vincent" <[EMAIL PROTECTED]> wrote: > > I wish PHP would add threading. We write enterprise level products with PHP, > and we end up using DBUS and letting Ruby do all the "real work". submit patch Kevin -- "Democracy is two wolves and a lamb voting on what

Re: [PHP] Startinga shell process with a life of its own

2006-07-11 Thread John Gunther
Great approach! Slicker'n snot. I added one enhancement: The shell script writss progress info to the database which the trigger page displays on entry. Richard Lynch wrote: I would recommend, however, that you re-structure things slightly so that the Architecture is more like this: User vi

RE: [PHP] Startinga shell process with a life of its own

2006-07-10 Thread Daevid Vincent
> On some machines, on some OSes, in some configurations, with some > commands, tacking "&" onto the end of what you exec, will sometimes > "work"... Sadly, in even Linux, this will not work. PHP blocks on the call. I've even tried to call out to a shell script which in turn uses & to call a comm

Re: [PHP] Startinga shell process with a life of its own

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 9:29 pm, John Gunther wrote: > Which PHP method allows me to start a shell process from a web page > script and let it proceed to its conclusion even though I end the > page. > Most of the various execute functions seem to wait for the process to > finish before PHP continues.

[PHP] Startinga shell process with a life of its own

2006-07-06 Thread John Gunther
Which PHP method allows me to start a shell process from a web page script and let it proceed to its conclusion even though I end the page. Most of the various execute functions seem to wait for the process to finish before PHP continues. I don't understand the ones with open/close functions. W