<agent_handle>.print-working-directory <agent_handle>.run-until-job
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<agent_handle>.run

Synopsis

<agent_handle>.run [-capture] "cmd-line"

Description

Execute a command with command line arguments on the target system that is associated with this agent_handle object. The specified string will be executed just as if it was entered in a terminal console on the target system.

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.

Provided By

matic
<agent_handle>.print-working-directory <agent_handle>.run-until-job