bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #33995, Jobs executed with sh instead of...

 
 

bug #33995: Jobs executed with sh instead of $SHELL

Submitted by:  Jay Hacker <jayqhacker>
Submitted on:  Thu 11 Aug 2011 09:59:57 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ole Tange <tange>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 24 Sep 2011 12:41:43 AM UTC, comment #2:

Fixed in [986f69d]

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sat 24 Sep 2011 12:32:34 AM UTC, comment #1:

$ parallel 'cat <(echo {})' ::: a
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `cat <(echo a)'

$ parallel 'bash -c "cat <(echo {})"' ::: a
a

$ parallel '$SHELL -c "cat <(echo {})"' ::: a
a

Ole Tange <tange>
Project AdministratorIn charge of this item.
Thu 11 Aug 2011 09:59:57 PM UTC, original submission:

It seems that jobs get executed with sh -c instead of $SHELL -c. Bash, at least, doesn't support many features (such as process substitution) when invoked as sh. Would it be possible to use the user's shell instead of sh?

Jay Hacker <jayqhacker>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tange (Posted a comment)
  • -unavailable- added by jayqhacker (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Sep 2011 12:41:43 AM UTCtangeStatusNone=>Fixed
      Assigned toNone=>tange
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1