Page 1 of 1

Processes pid

Posted: Wed Jan 30, 2008 1:37 am
by user___
Hi guys,
I need a script that will set the order of the execution of some processes. I have some execs but I execute them in the background and they depend on each other. Unless they are executed in order the program crashes. Is there any possibility of doing that in Php with pid?

Re: Processes pid

Posted: Wed Jan 30, 2008 3:09 am
by VladSun
OS?

Re: Processes pid

Posted: Wed Jan 30, 2008 3:45 am
by user___
Debian Stable

Re: Processes pid

Posted: Wed Jan 30, 2008 5:10 am
by VladSun
;) I've already answered you in your post:
"You may try to execute it in a single command - something like this

Code: Select all

exec("(process1 && process2) &")
"
viewtopic.php?f=1&t=76522&hilit=+ffmpeg

process1 is executed, then process2

Is that what you are looking for?