[comp.sys.amiga] Program to execute other programs

ccemdd@rivm.UUCP (Marco Dedecker) (05/25/89)

I wish to make a program that will ask the user to select a utility
program he wishes to execute. After the user has entered his/her choice,
the program will execute the chosen utility.

I know this can be done from CLI using setkey and setmap, but I want
a program instead of it. The execution can be done by using the command :

	execute(command, stdin, stdout)

But this is not what I want. I want the execution to wait until my
program has finished. Can this be done ?

- Will redirecting STDOUT to STDIN cause this and if so how is this done ?
- Is it possible to add commands to the keyboard queue ?
- Is there an other solution ?

I would welcome any help.


Marco Dedecker