launcher icon indicating copy to clipboard operation
launcher copied to clipboard

Exclude GNU Screen environmental variables in pass_env

Open AJVincelli opened this issue 4 years ago • 3 comments

Exclude ")" from the environment, which causes Launcher to fail when using GNU Screen on some clusters. Excluding the ")" fixes the issue for me.

AJVincelli avatar Mar 07 '21 03:03 AJVincelli

@siliu-tacc @lwilson I have never done a Pull Request before, I apologize if I haven't done it right. Basically, when I use GNU Screen on some clusters, one of Screen's environmental variables includes a ")" and causes Launcher to fail. (I mentioned this behavior in Issue #63.) I just added -e ")" to the pass_env file, and this fixes the issue for me. Hopefully it's a tiny fix for review! Thanks!

AJVincelli avatar Mar 07 '21 03:03 AJVincelli

Hm, actually my fix above might not work in all cases... Hold on while I check into this...

AJVincelli avatar Mar 08 '21 04:03 AJVincelli

@siliu-tacc @lwilson I updated the fix to include all TERMCAP environment variables, which apparently can include an entire database of tabbed variables. Excluding all tabbed variables seems to clear all (and only) screen variables, and Launcher runs successfully. Maybe somebody else who experiences the error can try this fix to confirm that it works for them too?

AJVincelli avatar Mar 08 '21 19:03 AJVincelli