From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 5 Jul 1999 10:09:49 +0100 From: rog@vitanuova.com rog@vitanuova.com Subject: [9fans] spawn() vs fork() Topicbox-Message-UUID: 999c7f2e-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19990705090949.8P0iALZEDFaoKTJ25zkWEoCma3DaOGV_u9TQJ3PFH5E@z> > Implementation requirements aside, as Jean says, fork gives you an > elegant way of setting up I/O redirection. It also gives you an elegant > way of determining start-up context as a whole for the new process., > including internal state. inferno seems to do fine with a spawn primitive and no process fork. it has the capability to fork resources (i.e. fds, namespace, process group) and this, combined with the fact that there are relatively few attributes associated with a process, seems quite sufficient for all the usual process setup. cheers, rog.