Home > @cjh1/sfapi > UtilitiesService > runCommand
Run Command Run a command on a NERSC system
bash -c "echo $PWD"
This command will return a task id that can be looked up via the /tasks/task api. The body of the task will be the result of the executable.
Signature:
runCommand(machine: PublicHost, formData: RunCommandBody): CancelablePromise<CommandOutput>;
Parameter | Type | Description |
---|---|---|
machine | PublicHost | |
formData | RunCommandBody |
Returns:
CancelablePromise<CommandOutput>
app__routers__utils__models__CommandOutput Successful Response
ApiError