globus_compute_register_shell_command
Register a shell command with variable substitution, timeout, and visibility settings to run on Globus Compute endpoints.
Instructions
Register a shell command function with Globus Compute.
Use globus_compute_submit_task to run the registered shell command on an endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | Yes | Indicates whether the shell command can be used by others | |
| command | Yes | The shell command string, which may contain variables to be replaced with args and kwargs provided in each submit call (e.g.`echo {} --foo {foo}`). | |
| timeout | Yes | Maximum execution time in seconds. | |
| description | Yes | An optional description of the shell command |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_id | Yes | ID of the registered function |