๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.arts.sf.written
Article #742

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

#742
From: Michael S
Date: Thu, 29 Oct 2026 21:07
59 lines
3704 bytes
On Thu, 29 Oct 2026 16:20:39 -0000 (UTC)
boltar@caprica.universe wrote:

> On Wed, 28 Oct 2026 14:09:32 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
> >On 10/28/2026 2:06 AM, boltar@caprica.universe wrote:  
> >> 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".
> >> 
> >>   
> >
> >Right. std::system, at least when I use it, makes the caller block
> >until the process is done.  
> 
> Thats true. Its been so long since I used it I'd forgotten about
> that. Makes it even less useful.
> 

Does it block when your command processor is bash and your command
string is "my_subprocess &"? 
Does it block when your command processor is cmd.exe and your command
string "start my_subprocess" or "start /b my_subprocess"?

I almost certainly tried both in the past, but don't remember what
happens in each case. My expectations are that in both cases
caller blocked only briefly. It is not blocked until the finish
my_subprocess.




Technical Details
Message-ID: <20261029230758.0000262c@yahoo.com>
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> <11bsdv7$31fvn$1@dont-email.me> <11btoac$2prdo$4@dont-email.me> <11bvron$34s2l$1@dont-email.me>

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: Michael S <already5chosen@yahoo.com>
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: Thu, 29 Oct 2026 23:07:58 +0200
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <20261029230758.0000262c@yahoo.com>
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>
	<11btoac$2prdo$4@dont-email.me>
	<11bvron$34s2l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Oct 2026 21:08:04 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3890783"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+l6c7drpGyy87x1Yz9DIcvxpE+NVjWNlI="; posting-host="25f9822af7270c274cf82cd8a4df3714"
Cancel-Lock: sha1:hU4tYFSas0c/OubwKEQGA4ydiFs= sha256:jFbD7whLoCpPbJvRPlwsV1qJAbWZ2nCQ9KJ985Eiz4w=
	sha1:CwKhaHULral9kuZkytkyEHT3lw0= sha256:U+WXwCnWfmUZAKvpgj4Bzb5156WM7KALuoaWx+Gsvas=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)