ProcessSignal class interface

On Posix systems, ProcessSignal is used to send a specific signal to a child process, see Process.kill.

Some ProcessSignals can also be watched, as a way to intercept the default signal handler and implement another. See ProcessSignal.watch for more information.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The POSIX-standardized name of the signal e.g. ProcessSignal.name will be "SIGHUP" for ProcessSignal.sighup.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signalNumber int
The numeric constant for the signal e.g. ProcessSignal.signalNumber will be 1 for ProcessSignal.sighup on most platforms.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
watch() Stream<ProcessSignal>
Watch for process signals.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

sigabrt → const ProcessSignal
sigalrm → const ProcessSignal
sigbus → const ProcessSignal
sigchld → const ProcessSignal
sigcont → const ProcessSignal
sigfpe → const ProcessSignal
sighup → const ProcessSignal
sigill → const ProcessSignal
sigint → const ProcessSignal
sigkill → const ProcessSignal
sigpipe → const ProcessSignal
sigpoll → const ProcessSignal
sigprof → const ProcessSignal
sigquit → const ProcessSignal
sigsegv → const ProcessSignal
sigstop → const ProcessSignal
sigsys → const ProcessSignal
sigterm → const ProcessSignal
sigtrap → const ProcessSignal
sigtstp → const ProcessSignal
sigttin → const ProcessSignal
sigttou → const ProcessSignal
sigurg → const ProcessSignal
sigusr1 → const ProcessSignal
sigusr2 → const ProcessSignal
sigvtalrm → const ProcessSignal
sigwinch → const ProcessSignal
sigxcpu → const ProcessSignal
sigxfsz → const ProcessSignal