Result

Describes a command's termination conditions.

Constructor

new Result(codenullable, signalnullable)

Parameters:
NameTypeAttributesDescription
codenumber<nullable>

The exit code, or {@code null} if the command did not exit normally.

signalstring<nullable>

The signal used to kill the command, or {@code null}.

Members

(nullable) code :number

Type:
  • number

(nullable) signal :string

Type:
  • string

Methods

toString()