ProcessSignal class

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.
read-onlyinherited
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.
read-onlyinherited
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
const ProcessSignal._(6, "SIGABRT")
sigalrm → const ProcessSignal
const ProcessSignal._(14, "SIGALRM")
sigbus → const ProcessSignal
const ProcessSignal._(7, "SIGBUS")
sigchld → const ProcessSignal
const ProcessSignal._(17, "SIGCHLD")
sigcont → const ProcessSignal
const ProcessSignal._(18, "SIGCONT")
sigfpe → const ProcessSignal
const ProcessSignal._(8, "SIGFPE")
sighup → const ProcessSignal
const ProcessSignal._(1, "SIGHUP")
sigill → const ProcessSignal
const ProcessSignal._(4, "SIGILL")
sigint → const ProcessSignal
const ProcessSignal._(2, "SIGINT")
sigkill → const ProcessSignal
const ProcessSignal._(9, "SIGKILL")
sigpipe → const ProcessSignal
const ProcessSignal._(13, "SIGPIPE")
sigpoll → const ProcessSignal
const ProcessSignal._(29, "SIGPOLL")
sigprof → const ProcessSignal
const ProcessSignal._(27, "SIGPROF")
sigquit → const ProcessSignal
const ProcessSignal._(3, "SIGQUIT")
sigsegv → const ProcessSignal
const ProcessSignal._(11, "SIGSEGV")
sigstop → const ProcessSignal
const ProcessSignal._(19, "SIGSTOP")
sigsys → const ProcessSignal
const ProcessSignal._(31, "SIGSYS")
sigterm → const ProcessSignal
const ProcessSignal._(15, "SIGTERM")
sigtrap → const ProcessSignal
const ProcessSignal._(5, "SIGTRAP")
sigtstp → const ProcessSignal
const ProcessSignal._(20, "SIGTSTP")
sigttin → const ProcessSignal
const ProcessSignal._(21, "SIGTTIN")
sigttou → const ProcessSignal
const ProcessSignal._(22, "SIGTTOU")
sigurg → const ProcessSignal
const ProcessSignal._(23, "SIGURG")
sigusr1 → const ProcessSignal
const ProcessSignal._(10, "SIGUSR1")
sigusr2 → const ProcessSignal
const ProcessSignal._(12, "SIGUSR2")
sigvtalrm → const ProcessSignal
const ProcessSignal._(26, "SIGVTALRM")
sigwinch → const ProcessSignal
const ProcessSignal._(28, "SIGWINCH")
sigxcpu → const ProcessSignal
const ProcessSignal._(24, "SIGXCPU")
sigxfsz → const ProcessSignal
const ProcessSignal._(25, "SIGXFSZ")