Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!husc6!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: comp.lang.c Subject: Re: system Keywords: fork and wait not for MSDOS Message-ID: <10202@ut-sally.UUCP> Date: 25 Jan 88 03:01:08 GMT References: <127@dcrbg1.UUCP> <452@picuxa.UUCP> <3920@sigi.Colorado.EDU> <1317@laidbak.UUCP> Organization: U. Texas CS Dept., Austin, Texas Lines: 22 In article <1317@laidbak.UUCP>, daveb@laidbak.UUCP (Dave Burton) writes: > In article <3920@sigi.Colorado.EDU> swarbric@tramp.Colorado.EDU writes: > > Very basicly, fork() creates a new process and wait() waits for > its completion. MSDOS does not have the capability of a fork(), > so no wait() is needed. exec() overlays one process with another, > which MSDOS can do. > -- MS-DOS can do the same thing (create a new process and wait for it to finish) -- it's called "spawn()". Look for it in your favorite manual. -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU