in reply to Capturing STDERR with a pipe
open($ResultPipe, "./myprogram 1>/dev/null |");
# or maybe open($ResultPipe, "./myprogram 2&1>/dev/null |");
UPDATE (round 2)
Ok. this isn't probably the best solution, but why not just redirect STDERR to some kind of error log:open($ResultPipe, "./myprogram 2>>./err_log |");
jeffa
should have just gone to bed ... :)
|
|---|