How to I capture stdout output from a system call and pipe it back into my running script?
system "echo foobar";
# how to continue here with "foobar" in stdin ??
...
I can fake it with pipes and additional scripts, but that seems like overkill.
Thanks.
(Yes, I'm STILL a newbie!)
dave
system "echo foobar";
# how to continue here with "foobar" in stdin ??
...
I can fake it with pipes and additional scripts, but that seems like overkill.
Thanks.
(Yes, I'm STILL a newbie!)
dave
Comment