๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.rust
Article #421

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

#421
From: boltar
Date: Wed, 28 Oct 2026 09:06
25 lines
2520 bytes
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. Oh, and it also fires up the default shell to
do the actual execution making it hideously inefficient. No serious unix dev 
uses system() unless thay have absolutely no choice or it really is a case of
"go run this, I don't care what happens".

Technical Details
Message-ID: <11bsdv7$31fvn$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: boltar@caprica.universe
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
Date: Wed, 28 Oct 2026 09:06:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <11bsdv7$31fvn$1@dont-email.me>
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>
Content-Type: text/plain; charset=US-ASCII
Injection-Date: Wed, 28 Oct 2026 09:06:48 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3194871"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/6lp4YscKQSNKQw36x41t0"; posting-host="75e496b5208a868293a3102b45377e64"
Cancel-Lock: sha1:jS2UkGfF8WdMFZGTRnQauUGMDxo= sha256:RSWB10vI25lzN2x2jnnnCuH9xZEU/owA2NewXNYkCa4=
	sha1:DkPbMvPdIlPyNlFZSRCmrX4KY80= sha256:pgLV1kO4EzLNOEoiTSpXX7Lj76flKPrAbZmgLwA7c8c=