nodus exec
View Markdownnodus exec
Section titled “nodus exec”Run a command in a running Job, Sandbox or Workspace (recorded as a Process)
nodus exec [-it] KIND/NAME -- COMMAND [ARGS...] [flags]Examples
Section titled “Examples” nodus exec -it job/finetune -- bash nodus exec sb/dev -- nvidia-smiOptions
Section titled “Options” -h, --help help for exec --index int Job index (Indexed Jobs) (default -1) --rank string Gang member rank (default 0) -i, --stdin Pass stdin to the command -t, --tty Allocate a terminalOptions inherited from parent commands
Section titled “Options inherited from parent commands” --context string Context from the config file to use --org string Organization (selects the context for that org) -p, --project string Project to work in -v, --verbose Log each API request (never credentials)SEE ALSO
Section titled “SEE ALSO”- nodus - Run compute Jobs on Nodus
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus exec sb/dev -- python -c 'raise SystemExit(3)'