Xref: utzoo comp.sys.ibm.pc.programmer:2260 alt.msdos.programmer:1828 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!burleigh From: burleigh@cica.cica.indiana.edu (Frank Burleigh) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: Redirecting to/from spawnxx()ed program? Keywords: redirect stdin/stdout Message-ID: <2589@cica.cica.indiana.edu> Date: 6 Jul 90 10:31:57 GMT Organization: IU, Bloomington Lines: 20 The Subject says pretty well what I want: to redirect the output from, or input to, a program run from one of the spawnxx() functions. Can it be done? As an example, suppose your program spawned a program that might need a long list of files and that doesn't in its own design take a command line option giving a file name of a file containing those file names. If one could redirect such a file into the program, one might avoid rerunning the spawned program over and over until the list of files is exhausted. I'm using TC2/MSC6. Thanks in advance for any ideas and comments, yea or nea. -- Frank Burleigh burleigh@cica.cica.indiana.edu USENET: ...rutgers!iuvax!cica!burleigh BITNET: BURLEIGH@IUBACS.BITNET Department of Sociology, Indiana University, Bloomington, Indiana 47405