Hi, 

I need to run an external command from within a route handler and read both STDOUT and the return value. I am currently using Capture::Tiny to do this. 

my ($stdout, $stderr, $retval) = capture {
 # my code here ...
};

I find however that while STDERR is captured correctly, STDOUT goes to the screen log (I am running in development mode, but production mode does not change anything). Is there some way to capture STDOUT rather than have it redirected to my log?

Thank you.