I've been using this for some time and must have gotten help from someone on the web, but my memory has failed me!! The first part "tmux new-session -s XDR " I understand => create a new window with the name XDR.
Code: Select all
su xxx -c "tmux new-session -s XDR -d '/usr/bin/python /mnt/usbdrive/pgms/yyyy.py; exec bash'"
I can't find the "-d" option in the documentation, but I'm guessing it directs that the following code in single quotes is to be started in a bash window.
What I really want in pointed to somewhere that I can find all of this documented. Thanks....RDK