Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--launch-command does not work on tcsh #141

Open
mnlevy1981 opened this issue Feb 25, 2022 · 0 comments
Open

--launch-command does not work on tcsh #141

mnlevy1981 opened this issue Feb 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mnlevy1981
Copy link
Contributor

echo '\$(hostname -f)' raises issues when tcsh tries to run this command on another shell:

[bash] $ bash -lc "echo 'jupyter lab --no-browser --ip=\$(hostname -f)'"
jupyter lab --no-browser --ip=$(hostname -f)
[bash] $ tcsh -c "echo 'jupyter lab --no-browser --ip=\$(hostname -f)'"
jupyter lab --no-browser --ip=$(hostname -f)
[tcsh] > bash -lc "echo 'jupyter lab --no-browser --ip=\$(hostname -f)'"
Variable name must contain alphanumeric characters.
[tcsh] > tcsh -c "echo 'jupyter lab --no-browser --ip=\$(hostname -f)'"
Variable name must contain alphanumeric characters.

This will cause problems when users try to use the --launch-command argument when the default shell on the remote machine is tcsh (regardless of what --shell is)

@andersy005 andersy005 added the bug Something isn't working label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🌳 Todo
Development

No branches or pull requests

2 participants