9fans archive / 1999 / 07 / 3 / prev next From: Guan Yang guanix@sof... Subject: [9fans] spawn() vs fork() Date: Sat, 03 Jul 1999 09:53:43 +0000 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------