Jan 16, 2003 #1 ktulu2 Technical User Joined Jan 16, 2003 Messages 11 Location 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 Joined Aug 5, 2001 Messages 771 Location 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 Joined Jan 16, 2003 Messages 11 Location US Ya, I haven't tried it but it looks promising. Thanks alot!. Upvote 0 Downvote