Xref: utzoo comp.sys.atari.st:33949 comp.sys.atari.st.tech:1132 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!reading!news From: adp@csug.cs.reading.ac.uk (Andrew Pollard) Newsgroups: comp.sys.atari.st,comp.sys.atari.st.tech Subject: IO Redirection (before a pexec) Message-ID: <1991Jan14.173507.19761@csug.rdg.ac.uk> Date: 14 Jan 91 17:35:07 GMT Sender: news@csug.rdg.ac.uk Organization: Comp. Sci. Dept., Reading Univ., UK. Lines: 17 Hello, I am trying to write a shell program (due to the idiosyncracies of gulam), and I have made several attempts to do input/output redirection with varying degrees of success. Please could someone out there tell me the 'proper' way to redirect IO before a pexec call (thinking in terms of a shell program). Do you have to preload the program, do the redirection, and then re-pexec, etc. Please mail me any solutions, I will summarise to the net if necessary. Thanks, Andrew -------------------------------------------------------------------------------- | Andrew Pollard | JANET adp@uk.ac.rdg.cs.csug | | Dept of Computer Science | BITNET adp%csug.cs.rdg.ac.uk@UKACRL | | Reading, RG6 2AX | INTERNET adp%csug.cs.rdg.uk.ac@nsfnet-relay.ac.uk | | England. | | --------------------------------------------------------------------------------