bugGNU Parallel - Bugs: bug #67399, --tmux: use -L instead of -S when...

 
 

bug #67399: --tmux: use -L instead of -S when launching it

Submitter:  Doron Behar <doronbehar>
Submitted:  Wed 06 Aug 2025 04:30:04 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 06 Aug 2025 04:30:04 PM UTC, original submission:  

This is considered safer according to the tmux team, and this feature is available since 2009:

https://github.co ... ANGES#L2472-L2483

Shell tab completions of ZSH and potentially other shells, are also capable of suggesting the user a shell to attach to when they type in another terminal `tmux -L ` and then press <tab>.

Also, since we use a dedicated and known directory to store the socket, we can be sure there won't be any collisions with other files there, so using the process' ID number is much more convenient.

I managed to write a patch for that rather easily using a LLM, and it is attached to this message.

Doron Behar <doronbehar>

 

Attached Files

Attached Files
file #57502:  parallel-tmux-L.patch added by doronbehar (2.6KiB - text/x-patch)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by doronbehar (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-08-06 doronbehar Attached File- Added parallel-tmux-L.patch, #57502

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code