Optionally the -capture flag can be used to hold the output for later, instead of immediately printing it. The captured output is then accessed from the get-captured-output
command. Alternatively either run-until-job
or wait-for-job
, with the -capture flag, can be used.
The cmd-line must be one quoted argument string, which will be sent as is to the Simics Agent which will run the command.
The format of the command line, as well as available features, depends on the target shell that will be executing the command.