DeviceCommandInput Data Type

Represents an OS command to be executed remotely on a device.

Properties
name data type constraints description
command string   The OS command to be executed.
arguments array of string   The OS command arguments.
timeout number required Timeout, in seconds, to terminate the OS command.
stdin string   The standard input for the OS command.
environment array of string   An array of "key=value" environment variables.
workingDir string   Sets the working directory.
runAsync boolean required Whether the OS command will run asynchronously.
password string   The optional password required to execute commands on the device.

Example

{
  "command" : "...",
  "arguments" : [ "...", "..." ],
  "timeout" : 12345,
  "stdin" : "...",
  "environment" : [ "...", "..." ],
  "workingDir" : "...",
  "runAsync" : true,
  "password" : "..."
}