When performing the following "screen -X screen ......" commands to
create a new screen window in an existing screen, all arguments that
require a (file) name will have that argument executed, rather than the
actual program name at the end of the arguments list.
Examples:
screen -X screen -c screenrc.custom <program name>
screen will in this case try to execute screenrc.custom and not
<programĀ name>
screen -X screen -Logfile screenlog.custom <program name>
screen will in this case try to execute screenlog.custom and not
<programĀ name>
Example of what does work (to ensure I put the arguments in the correct
place):
screen -X screen -L <program name>
screen will in this case execute <programĀ name> AND enable logging
--
Screen version 4.08.00 (GNU) 05-Feb-20
Tried on Ubuntu 20.04
Linux server50691 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Kind regards,
Victor van Vlaardingen
v...@lfs.net