ProcessSignal classinterface
On Posix systems,ProcessSignal is used to send a specific signalto a child process, seeProcess.kill.
SomeProcessSignals can also be watched, as a way to intercept the defaultsignal handler and implement another. SeeProcessSignal.watch for moreinformation.
Properties
- hashCode→int
- The hash code for this object.no setterinherited
- name→String
- The POSIX-standardized name of the signal e.g.ProcessSignal.name willbe "SIGHUP" forProcessSignal.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.signalNumberwill be 1 forProcessSignal.sighup on most platforms.final
Methods
- noSuchMethod(
Invocationinvocation)→ 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 ==(
Objectother)→bool - The equality operator.inherited
Constants
- sigabrt→ constProcessSignal
- sigalrm→ constProcessSignal
- sigbus→ constProcessSignal
- sigchld→ constProcessSignal
- sigcont→ constProcessSignal
- sigfpe→ constProcessSignal
- sighup→ constProcessSignal
- sigill→ constProcessSignal
- sigint→ constProcessSignal
- sigkill→ constProcessSignal
- sigpipe→ constProcessSignal
- sigpoll→ constProcessSignal
- sigprof→ constProcessSignal
- sigquit→ constProcessSignal
- sigsegv→ constProcessSignal
- sigstop→ constProcessSignal
- sigsys→ constProcessSignal
- sigterm→ constProcessSignal
- sigtrap→ constProcessSignal
- sigtstp→ constProcessSignal
- sigttin→ constProcessSignal
- sigttou→ constProcessSignal
- sigurg→ constProcessSignal
- sigusr1→ constProcessSignal
- sigusr2→ constProcessSignal
- sigvtalrm→ constProcessSignal
- sigwinch→ constProcessSignal
- sigxcpu→ constProcessSignal
- sigxfsz→ constProcessSignal