I have this shell program that I want to execute by php. The problem is that it can potentially take a long time, and as of that I need it to have real-time updating to the
there is a dirty easy option
`yourcommand 1>&2`;
redirecting the stdout to the stderr.