GLib.spawn_close_pid
function spawn_close_pid(pid: GLib.Pid): void {
// Gjs wrapper for g_spawn_close_pid()
}
On some platforms, notably Windows, the GLib.Pid type represents a resource which must be closed to prevent resource leaking. GLib.spawn_close_pid is provided for this purpose. It should be used on all platforms, even though it doesn't do anything under UNIX.
- pid
The process reference to close