🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #624796

Re: The Peter Principle

#624796
From: Ahem A Rivets Shot
Date: Sat, 07 Jul 2018 11:31
29 lines
3204 bytes
On Sat, 7 Jul 2018 05:42:40 -0500
Charles Richmond <nume...@aquaporin4.com> wrote:

> 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.

	Nope that needs several processes - think more in terms of a
dispatcher or overlay manager, It's been a longish time but some of the
CP/M application suites I wrote went from phase to phase using exec().

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/
Technical Details
Message-ID: <20180707123116.8471007692477fe731f5019d@eircom.net>
Path: mbox-mo1.pugleaf.net!z3-v6ni4529iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!weretis.net!feeder6.news.weretis.net!feeder4.news.weretis.net!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> <phq5ef$qfq$1@dont-email.me>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a02:2b28:: with SMTP id h40-v6mr4393722jaa.42.1530964809617;        Sat, 07 Jul 2018 05:00:09 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:a6b:310b:: with SMTP id j11-v6ls1337392ioa.23.gmail; Sat, 07 Jul 2018 05:00:09 -0700 (PDT)
X-Received: by 2002:a6b:2491:: with SMTP id k139-v6mr5928645iok.70.1530964809049;        Sat, 07 Jul 2018 05:00:09 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!z3-v6ni4529iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!weretis.net!feeder6.news.weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Ahem A Rivet's Shot <ste...@eircom.net>
Newsgroups: alt.folklore.computers
Subject: Re: The Peter Principle
Date: Sat, 7 Jul 2018 12:31:16 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <20180707123116.8471007692477fe731f5019d@eircom.net>
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> <phq5ef$qfq$1@dont-email.me>
Mime-Version: 1.0
Injection-Info: reader02.eternal-september.org; posting-host="66363155ae69a0a1624fe4d73e76b1c5"; logging-data="2271"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX19vLdP/15fh4iy7ALURujpdcogEa5IcSmQ="
Cancel-Lock: sha1:xAJGEY4tB6XQ1Q0e7eDpAbCQukA=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
Bytes: 2825
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit