๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #545

Re: โ€œThe end of software secrecy is almost upon

#545
From: Scott Lurndal
Date: Wed, 28 Oct 2026 20:26
45 lines
3002 bytes
Michael S <already5chosen@yahoo.com> writes:
>On Wed, 28 Oct 2026 09:06:47 -0000 (UTC)
>boltar@caprica.universe wrote:
>

  <CROSSPOSTING REMOVED>

>> On Mon, 26 Oct 2026 22:04:33 +0200
>> Michael S <already5chosen@yahoo.com> gabbled:
>> >On Mon, 26 Oct 2026 09:51:51 -0000 (UTC)
>> >boltar@caprica.universe wrote:  
>> >> Go ahead and remain clueless.
>> >>   
>> >
>> >
>> >system() can do most of the same things as spawn() family.  
>> 
>> Rubbish, you clearly didn't bother to spend 2 mins googling.
>> 
>> >The problem with system() is not that. Often not even an efficiency.
>> >The problem with system() identified most easily if we ask ourself
>> >"Why do we want xyz in standard library?"   
>> 
>> The problem with system is its fire and forget - all you can do with
>> it is collect its exit code when its done. You can't communicate with
>> it via pipes, you can't control it via signals (well, not easily),
>> you can't set its process group, tty and on and on. 
>
>Actually, if you are creative enough you can do most of the
>above-mentioned things. Of course, what you can and what you can't do
>depends on capabilities of your default shell.
>And of course the way by which you achieve your goals via system() is
>VERY OS-dependent.

Indeed.  Prior to 2017, POSIX didn't require that the system function
invoke a shell, simply that it would execute an implementation defined
command string.  I must admit that I had pushed for the latter definition
when part of the base working group for XPG5 (1994ish) (I was, at the time,
working for Unisys for which POSIX support was being considered on the
Large Systems line, which had no equivalent of the unix shell).

By 2017 the world was limited to Linux and Windows from the POSIX
perspective, so wording was added to require support for a POSIX
shell and the POSIX commands.
Technical Details
Message-ID: <QTsES.5149$ygZ5.4916@fx36.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11bl9qm$10h8f$1@dont-email.me> <11bla34$fid$1@reader2.panix.com> <11blaui$2q6vd$1@dont-email.me> <11bldda$ba7$1@reader2.panix.com> <11bn7rn$2s5fj$1@dont-email.me> <20261026220433.00007818@yahoo.com> <11bsdv7$31fvn$1@dont-email.me> <20261028214746.00004151@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: โ€œThe end of software secrecy is almost upon
Newsgroups: alt.folklore.computers
References: <11amvre$15far$1@dont-email.me> <11bl9qm$10h8f$1@dont-email.me> <11bla34$fid$1@reader2.panix.com> <11blaui$2q6vd$1@dont-email.me> <11bldda$ba7$1@reader2.panix.com> <11bn7rn$2s5fj$1@dont-email.me> <20261026220433.00007818@yahoo.com> <11bsdv7$31fvn$1@dont-email.me> <20261028214746.00004151@yahoo.com>
Lines: 45
Message-ID: <QTsES.5149$ygZ5.4916@fx36.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 28 Oct 2026 20:26:24 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 28 Oct 2026 20:26:24 GMT
X-Received-Bytes: 2757