Re: [PHP] running commands sequentially in background with exec($commands_in_background)

2006-08-03 Thread Richard Lynch
Use one exec for each command. And check the return values from the extra args to exec. On Fri, July 28, 2006 5:45 am, Dasdan wrote: > I want to execute a couple of linux commands from a php script > 'sequentially in background'. > > I want to run them in background so the php script doesn't ha

[PHP] running commands sequentially in background with exec($commands_in_background)

2006-07-28 Thread Dasdan
I want to execute a couple of linux commands from a php script 'sequentially in background'. I want to run them in background so the php script doesn't hang while the linux commands are running. example: first i create a lock file with php $lockfile_path : /home/web/...blablabla.../test