bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #42566, tmuxify running jobs

 
 

bug #42566: tmuxify running jobs

Submitted by:  Ole Tange <tange>
Submitted on:  Mon 16 Jun 2014 11:48:22 AM UTC  
 
Category: NoneSeverity: 1 - Wish
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.

 

(Jump to the original submission Jump to the original submission)

Wed 16 Jul 2014 09:08:53 AM UTC, comment #6:

Initial version [1a1c0eb]

Ole Tange <tange>
Project AdministratorIn charge of this item.
Wed 16 Jul 2014 12:28:35 AM UTC, comment #5:

tmux new-session -s p12346 -d

Ole Tange <tange>
Project AdministratorIn charge of this item.
Wed 16 Jul 2014 12:20:25 AM UTC, comment #4:

tmux new-session -s p12346

Ole Tange <tange>
Project AdministratorIn charge of this item.
Wed 16 Jul 2014 12:18:51 AM UTC, comment #3:

This seems to work in both csh and bash:

mkfifo /tmp/fifo ; tmux new-window -t p12346 '(echo foo;sleep 5;exec ls ged); echo $?$status > /tmp/fifo' ; ( exit `cat < /tmp/fifo;rm /tmp/fifo` )

Ole Tange <tange>
Project AdministratorIn charge of this item.
Mon 16 Jun 2014 10:22:42 PM UTC, comment #2:

http://unix.stackexchange.com/questions/137426/make-tmux-block-until-program-completes

Ole Tange <tange>
Project AdministratorIn charge of this item.
Mon 16 Jun 2014 03:09:31 PM UTC, comment #1:

tmux new-session -ds p12346 'while kill -0 12346; do sleep 1; done'
tmux new-window -t p12346 'echo foo;sleep 10'

tmux new-window -n {#} -t p12346 'echo foo;sleep 10'

How can I make tmux tell me when it is done (preferably block)?

Ole Tange <tange>
Project AdministratorIn charge of this item.
Mon 16 Jun 2014 11:48:22 AM UTC, original submission:

It ought to be possible to start a tmux session and for each jobs slot start a tmux window.

Ole Tange <tange>
Project AdministratorIn charge of this item.

 

(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 (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
    Wed 16 Jul 2014 09:08:53 AM UTCtangeStatusNone=>Fixed
      Assigned toNone=>tange
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1