bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #51404, Can env_parallel import changed...

 
 

bug #51404: Can env_parallel import changed variables back?

Submitted by:  Ole Tange <tange>
Submitted on:  Thu 06 Jul 2017 05:55:48 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 06 Jul 2017 05:55:48 PM UTC, original submission:  

b=8
env_parallel --import-env b={} ::: 9

Maybe:

env_parallel: set PARALLEL_IMPORT=/tmp/tmpfile
parallel: wrapper: append exporter of environment to command (very similar to env_parallel) > /tmp/tmpfile-*
parallel: exit: cat /tmp/tmpfile-* > /tmp/tmpfile
env_parallel: source /tmp/tmpfile

Ole Tange <tange>
Project Administrator

 

(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 tange (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5