Just a small notice, when running PHP under MS Windows
some external command-line utilities (like 'ffmpeg.exe')
output all info to stderr instead of stdout. In my case it
caused apache error.log overfilling with lots of unsolicited
records.
It has just taken some time for me to make the utility
silent:
Simply add
">NUL 2>&1"
to the very end of your command line. It makes cmd.exe to
redirect stderr to stdout and then, in one's turn, redirect
stdout to NULL.
Hope this tip will save some time when dealing with such
utilities.
----
Server IP: 195.54.192.44
Probable Submitter: 195.133.60.161
----
Manual Page -- http://www.
php.net/manual/en/ref.exec.php
Edit -- https://master
.php.net/note/edit/78062
Del: integrated -- h
ttps://master.php.net/note/delete/78062/integrated
Del: useless -- http
s://master.php.net/note/delete/78062/useless
Del: bad code -- htt
ps://master.php.net/note/delete/78062/bad+code
Del: spam -- https:/
/master.php.net/note/delete/78062/spam
Del: non-english --
https://master.php.net/note/delete/78062/non-english
Del: in docs -- http
s://master.php.net/note/delete/78062/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78062
Reject -- https://mast
er.php.net/note/reject/78062
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|