DeviceCommandOutput Data Type

Represents the result of an OS command executed remotely on a device.

Properties
name data type description
exitCode number The OS command exit code.
timedout boolean Whether the OS command has been terminated by a timeout.
stderr string The standard error of the OS command.
stdout string The standard output of the OS command.
exceptionMessage string The message associated to an Exception occurring during command execution.
exceptionStack string The stack associated to an Exception occurring during command execution.

Example

{
  "exitCode" : 12345,
  "timedout" : true,
  "stderr" : "...",
  "stdout" : "...",
  "exceptionMessage" : "...",
  "exceptionStack" : "..."
}