Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExecutionResult

Shell command execution result. Returned by Shell.exec and exec.

Hierarchy

  • ExecutionResult

Index

Properties

Properties

Readonly code

code: number

Exit code of the command. 0 means success, other values mean failure.

Readonly output

output: string

Output of the command. Includes standard output and standard error.

Readonly stderr

stderr: string

Standard error of the command.

Readonly stdout

stdout: string

Standard output of the command. For example, ls command's stdout is a list of files.