note 87997 deleted from function.proc-get-status by danbrown

From: Date: Mon, 05 Jan 2009 14:38:15 +0000
Subject: note 87997 deleted from function.proc-get-status by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-148850@lists.php.net to get a copy of this message
Note Submitter: lytithwyn at gmail dot com ---- I forgot to mention when I posted that function that the reason I didn't use strrev xc.noxeh@ellij's suggestion is because I used pipes and output redirection. He said this wouldn't work with his example. These things should work just fine with the function that I posted. I'm using it for commands such as: mencoder {$filenames->input} -ovc copy -oac lavc -lavcopts acodec=libmp3lame -of mpeg -o - 2>/dev/null | ffmpeg -i - -y -ar 22050 -ab 56 -aspect 4:3 -r 12 -f flv -s 432x324 -acodec mp3 -ac 1 {$this->workdir}{$filenames->output} 2>&1 & Which works fine for me. I can kill both mencoder and ffmpeg in my script by using the function I posted.

« previous php.notes (#148850) next »