sfapi-ts

Home > @cjh1/sfapi > UtilitiesService > runCommand

UtilitiesService.runCommand() method

Run Command Run a command on a NERSC system

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>;

Parameters

Parameter Type Description
machine PublicHost  
formData RunCommandBody  

Returns:

CancelablePromise<CommandOutput>

app__routers__utils__models__CommandOutput Successful Response

Exceptions

ApiError