![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^3: Capturing bash output without displaying STOUT in terminalby dasgar (Priest) |
on Sep 08, 2016 at 16:29 UTC ( #1171414=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|