note 87997 added to function.proc-get-status

From: Date: Mon, 05 Jan 2009 14:33:21 +0000
Subject: note 87997 added to function.proc-get-status
Groups: php.notes 
Request: Send a blank email to php-notes+get-148849@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 76.3.91.218 ---- Manual Page -- http://www.php.net/manual/en/function.proc-get-status.php Edit -- https://master.php.net/note/edit/87997 Del: integrated -- https://master.php.net/note/delete/87997/integrated Del: useless -- https://master.php.net/note/delete/87997/useless Del: bad code -- https://master.php.net/note/delete/87997/bad+code Del: spam -- https://master.php.net/note/delete/87997/spam Del: non-english -- https://master.php.net/note/delete/87997/non-english Del: in docs -- https://master.php.net/note/delete/87997/in+docs Del: other reasons-- https://master.php.net/note/delete/87997 Reject -- https://master.php.net/note/reject/87997 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148849) next »