🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #624795

Re: The Peter Principle

#624795
From: Charles Richmond
Date: Sat, 07 Jul 2018 10:42
19 lines
2597 bytes
On 7/7/2018 2:17 AM, Ahem A Rivet's Shot wrote:
> On Sat, 7 Jul 2018 01:45:22 -0500
> Charles Richmond <nume...@aquaporin4.com> wrote:
> 
>> Certainly the exec() call has *no* sense of child or parent, and needs
>> none.  But when fork() creates the parent-child pair of processes, the
>> child will be the one that will then call exec().
> 
> 	Oh sure fork()/exec() is a common pattern but I've used
> exec() without fork() and vice-versa a good many times - probably more
> often than I've used them together.
> 

I can understand using exec() to chain several process images together. 
This can often be done with pipes, if the processes are built right... 
input from stdin, output to stdout.

-- 
numerist at aquaporin4 dot com
Technical Details
Message-ID: <phq5ef$qfq$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!o12-v6ni34732wmc.0!nntp.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
References: <pho0pp$s4$1@dont-email.me> <pho33o225k4@news4.newsguy.com> <20180706191634.7cc7ff5ecb60db674ea8c73e@eircom.net> <phogdr12dbc@news3.newsguy.com> <phoi8d$mnh$1@dont-email.me> <php3bq$hpq$1@dont-email.me> <phphlm$3jm$1@dont-email.me> <20180707072422.f1f40a1cb5d9a8d9a886abdb@eircom.net> <phpnhi$vep$1@dont-email.me> <20180707081705.b35484744f71f27da29c705b@eircom.net>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a1c:b8cf:: with SMTP id i198-v6mr1110711wmf.13.1530960144049;        Sat, 07 Jul 2018 03:42:24 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:adf:eb4d:: with SMTP id u13-v6ls2739080wrn.0.gmail; Sat, 07 Jul 2018 03:42:23 -0700 (PDT)
X-Received: by 2002:adf:9d8f:: with SMTP id p15-v6mr1103922wre.6.1530960143552;        Sat, 07 Jul 2018 03:42:23 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!o12-v6ni34732wmc.0!nntp.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Charles Richmond <nume...@aquaporin4.com>
Newsgroups: alt.folklore.computers
Subject: Re: The Peter Principle
Date: Sat, 7 Jul 2018 05:42:40 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <phq5ef$qfq$1@dont-email.me>
References: <pho0pp$s4$1@dont-email.me> <pho33o225k4@news4.newsguy.com> <20180706191634.7cc7ff5ecb60db674ea8c73e@eircom.net> <phogdr12dbc@news3.newsguy.com> <phoi8d$mnh$1@dont-email.me> <php3bq$hpq$1@dont-email.me> <phphlm$3jm$1@dont-email.me> <20180707072422.f1f40a1cb5d9a8d9a886abdb@eircom.net> <phpnhi$vep$1@dont-email.me> <20180707081705.b35484744f71f27da29c705b@eircom.net>
Reply-To: nume...@aquaporin4.com
Mime-Version: 1.0
Injection-Date: Sat, 7 Jul 2018 10:42:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1829505eb25041b2d590a029e8374348"; logging-data="27130"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX195WI4W3Oxq+UhI0oMOs3gwSSv2Tk1HN4k="
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0
Cancel-Lock: sha1:Dx2LX5hLg46lqlgmDZi9B/UyKBQ=
In-Reply-To: <20180707081705.b35484744f71f27da29c705b@eircom.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit