Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.os.msdos.programmer Subject: Re: fork() under MS/DOS? Keywords: Turbo C, fork(), multitasking, MS/DOS Message-ID: <58769@iuvax.cs.indiana.edu> Date: 15 Sep 90 13:33:05 GMT Organization: malkaryotic Lines: 12 You should investigate the "spawn...()" family of functions in Turbo C. (Also the "system()" function.) These functions spawn a child process, and resume the parent upon the child's completion. You can't really create "fork()" semantics for MS-DOS, since it's single-tasking. I think that as close as you could come, you can do already with "spawn...()". Fork() might be more meaningful in a multitasking environment such as Desqview or Windows gives you (isn't Windows a multitasker now?), but that isn't really "under MS-DOS" as the parent or child would have to know how to open another window to run in.