Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!reading!csug.cs.reading.ac.uk!adp1 From: adp1@csug.cs.reading.ac.uk (Andrew Pollard) Newsgroups: comp.sys.atari.st Subject: Input/Output redirection with Pexec() Keywords: Pexec(), redirection Message-ID: <2330@onion.reading.ac.uk> Date: 7 May 90 15:57:42 GMT Sender: news@reading.ac.uk Reply-To: adp1@csug.cs.reading.ac.uk (Andrew Pollard) Organization: Comp. Sci. Dept., Reading Univ., UK. Lines: 14 Hello, Please could anyone tell me how to redirect standard input and output before a program is Pexec'ed. As far as I can tell, as soon as the program is started, it resets its standard channels. I am trying to write a simple command shell. Thanks, Andrew ================================================================================ | Andrew Pollard | adp1@uk.ac.reading.cs.csug | | Dept of Computer Science | adp1%uk.ac.reading.cs.csug@uk.ac.nsfnet-relay | | Reading University | | | England | | ================================================================================