in reply to Re^2: Capturing bash output without displaying STOUT in terminal
in thread Capturing bash output without displaying STOUT in terminal
Based on your response to my post as well as stevieb's initial post, I'd agree with stevieb that it looks like the command that you're running is sending the response to STDERR. As stevieb has pointed out, his suggestion of using backticks will only let you capture STDOUT. Capture::Tiny can capture both STDOUT and STDERR (and exit code) for system commands.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Capturing bash output without displaying STOUT in terminal
by bart (Canon) on Sep 08, 2016 at 19:17 UTC |
In Section
Seekers of Perl Wisdom