![]() |
![]() |
![]() |
![]() |
VteReaper
— A singleton object which catches SIGCHLD
signals and
converts them into GObject-style "child-exited" signals
Because an application may need to be notified when child processes
exit, and because there is only one SIGCHLD
handler, the VteTerminal
widget relies on a VteReaper to watch for SIGCHLD
notifications and
retrieve the exit status of child processes which have exited. When
glib provides child_watch functionality, the VteReaper merely acts as
a proxy for glib's own functionality.
Since 0.11.11
“child-exited”
signalvoid user_function (VteReaper *vtereaper, gint arg1, gint arg2, gpointer user_data)
Emitted when the VteReaper object detects that a child of the current process has exited.
vtereaper |
the object which received the signal |
|
arg1 |
the process ID of the exited child |
|
arg2 |
the status of the exited child, as returned by |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.11.11