Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!hp4nl!rivm!ccemdd From: ccemdd@rivm.UUCP (Marco Dedecker) Newsgroups: comp.sys.amiga Subject: Program to execute other programs Keywords: Execute, stdin, stdout, keyboard queue Message-ID: <1347@rivm05.UUCP> Date: 25 May 89 12:56:26 GMT Organization: RIVM, Bilthoven, The Netherlands Lines: 21 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