Skip to content

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

@mnlevy1981

Description

@mnlevy1981

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🌳 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions