CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Pipe to/from external script


New User

Jun 18, 2007, 11:12 AM

Post #1 of 1 (808 views)
Pipe to/from external script Can't Post

I'm trying to write a program that basically strings together a bunch of individual scripts/programs. Instead of the user having to run each one separately and enter the same information over and over, he runs my script, enters the information once, and it automatically runs all the other scripts. For the programs which take their input from command line arguments, I simply use backticks. However some of the programs prompt the user for information. I need to send information stored in variables in my script to the STDIN of the external running script at the appropriate times (I also need to scan the STDOUT of the other script to see what data it is asking me to input). What is the best way to do this?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives