Re: redirect a shell command to stdout in real time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use pipe to run the command and capture the stdout.
Then dump it with proper header to browser.

Note, If the external command (specially video encoding) takes long time
you should probably use cron for this and maintain a queue. I recommend you
apply some sorts of caching also.

-- 
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux