From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 3 Jul 1999 09:53:43 +0000 From: Guan Yang guanix@softhome.net Subject: [9fans] spawn() vs fork() Topicbox-Message-UUID: 996b0c5a-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19990703095343.zEqfooNyQPccJNdqhp-AAJJGZwRNdc_DLxKoUtmiTwE@z> Hi What are the advantages of fork() vs spawn() for system()-like uses? I couldn't find this in comp.os.research FAQ. >>From an application programmer's point of view spawn() would be much easier to use, except when creating two processes or threads that do exactly the same thing. -- The nice thing about Windows is - It does not just crash, it displays a dialog box and lets you press 'OK' first. Read this at www.geekcode.com -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s-:+ a---- C++ UL++ P+ L++ E- W++ N o K- w--- O M- V-- PS+ PE+ Y+ PGP+ t+ 5- X++ R+ tv b+++ DI+ D+ G e-- h! !r !z ------END GEEK CODE BLOCK------