mainSavannah Administration - Support: sr #110356, Reassigned to another tracker...

 
 

sr #110356: Reassigned to another tracker [was: bash: please provide an easy way to spawn a new process group from script]

Submitter:  None
Submitted:  Sun 01 Nov 2020 12:51:58 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Operating System:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 01 Nov 2020 07:24:06 PM UTC, comment #3: 

THIS ITEM WAS REASSIGNED TO SR #110358


Please, do not post any new comments to this item.

Bob Proulx <rwp>
Site Administrator
Sun 01 Nov 2020 07:22:56 PM UTC, comment #2: 

I should also note that for bash the primary bug and discussion venue is with email to the bug-bash AT gnu.org mailing list.  That is the better place to discuss bugs.

Also since you are asking for help the better venue is the help-bash AT gnu.org mailing list.  That's the best place to ask questions such as this.

Bob Proulx <rwp>
Site Administrator
Sun 01 Nov 2020 07:20:12 PM UTC, comment #1: 

You have reported a bash issue against the Savannah Administration project.  We don't have anything to do with individual projects hosted at Savannah.  I will transfer your ticket to the bash project.

However separate from that I suggest you look at the setsid(1) command which runs programs in a new session as that appears to be what you are wanting to do.

Bob Proulx <rwp>
Site Administrator
Sun 01 Nov 2020 12:51:58 AM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO SR #110358
I was battling this problem now for several hours

i wanted to do this:

{ a | b; } & pid=$!

and then later

kill -- -$pid

to kill all the processes spawned by the pipeline.

But this proved to be immensely complicated as no new process group is spawned from within a script (unless set -m which is not recommended)

Please, provide a syntactic construct to spawn a new process group (or at least there should be some usable command to do that).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-01 rwp Reassign ItemSavannah Administration, sr #110356 The GNU Bourne-Again SHell, sr #110358

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code