PDA

View Full Version : Shell scripting



DBQ
November 10th, 2007, 11:06 PM
Hey guys, I need a script to do the following (if this even possible):

1. Open the program
2.Automatically enter the input into the program (as if from the keyboard)
3. Don't exit the program - leave everything (ie input) up to the user.

dwhitney67
November 10th, 2007, 11:16 PM
Great!

What you have written so far? Have you even chosen a scripting language?

Ramses de Norre
November 11th, 2007, 12:36 AM
You might want to specify the program a little...

DBQ
November 11th, 2007, 02:41 AM
I will be using the standart bash script. The program is the program I wrote myself and want to apply the script to.

dwhitney67
November 11th, 2007, 03:25 AM
DBD, you are going to have to provide a wee bit more information than you have provided. Have you attempted to write this script yet? If you have, and it is giving you errors, then perhaps this forum may be able to help you... but you will need to post the script, or at least the relevant part that is causing an error.