Skip to content

CommandFailure

In std/io/process.

type CommandFailure : DataContract { command : Command reason : String status? : Int signal? : Signal stdout : String stderr : String }

Why a command did not succeed. reason is not-found, not-permitted, exited, signalled, timed-out or invalid-text. status is set when the child exited, signal when a signal ended it. stdout and stderr hold what the child wrote before it ended.