Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!shelby!polya!shap From: shap@polya.Stanford.EDU (Jonathan S. Shapiro) Newsgroups: comp.sys.mac.programmer Subject: Need MPW Tool porting help Keywords: MPW fork sublaunch Message-ID: <10352@polya.Stanford.EDU> Date: 30 Jun 89 17:59:19 GMT Sender: Jonathan S. Shapiro Organization: Stanford University Lines: 12 Hopefully one of you can help me. I am porting a compiler to MPW. I plan to give it away. Like all other C compilers, this one assumes that it can fork off a C preprocessor as a subprocess and then compile from the resulting temporary file. The question is, what is the right way to port this behavior to the MPW environment, where there isn't a moral equivalent (that I know of) to fork()? I have thought about merging the preprocessor into the main program - it would give performance improvements too - but it is a lot of work, and I would like to find an easier way.