I get both streams in php too, and an input stream, however I can't do anything with them and they output nothing and it's just a stupid stalemate, say running something like ffmpeg and collecting realtime output. Yet when I do that in php magically all my output comes out even though I was already specifying all these, this is also a windows envirionment so I'm sure it's all hacked up and half broken because windows is pretty