Jan 16, 2003 #1 ktulu2 Technical User Jan 16, 2003 11 US You guys all know how to make system commands (right?) Ex. print `some command`; Well, I was wondering if it is possible to direct that command towards an app that you are running instead of the shell. (Debian) Thanks Mucho
You guys all know how to make system commands (right?) Ex. print `some command`; Well, I was wondering if it is possible to direct that command towards an app that you are running instead of the shell. (Debian) Thanks Mucho
Jan 17, 2003 #2 toolkit Programmer Aug 5, 2001 771 GB In perl you can do: Code: open(PIPE, "some command |"); while(<PIPE>) { print; } close(PIPE); IS this what you meant? Upvote 0 Downvote
In perl you can do: Code: open(PIPE, "some command |"); while(<PIPE>) { print; } close(PIPE); IS this what you meant?
Jan 17, 2003 Thread starter #3 ktulu2 Technical User Jan 16, 2003 11 US Ya, I haven't tried it but it looks promising. Thanks alot!. Upvote 0 Downvote