Hello, Perl Monks
I am in need of some advice and I hope you can provide it to me.
I am trying to run a command using backticks:
What I want to do, is store the output from monitor. However, because monitor provides a continuous stream of output (updating every second) my program just hangs.
I know this is because backticks waits until the program has finished before continuing, but this won't ever finish. I have also tried using:
But that just provides me the return code. Which isn't needed.
Any help would be wonderful, thank you
In reply to Getting output from continuous program by jake7176
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |