The first program is just a substitute for your real program (which I obviously do not have), soley for the purposes of demonstration.
You don't need it. You only need (something like) the second program.
Does that make it clearer?
Will the script need me to specify its full path?
Not if it is in your path. But it will do no harm to specify the full path.
In reply to Re^3: "Answer" questions in an interactive program?
by BrowserUk
in thread "Answer" questions in an interactive program?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |