close


Description:

[ Version ( since = "2.68" ) ]
public void close ()

Closes all the file descriptors previously passed to the object with take_fd, take_stderr_fd, etc.

After calling this method, any subsequent calls to spawn or spawnv will return g_io_error_closed . This method is idempotent if called more than once.

This function is called automatically when the SubprocessLauncher is disposed, but is provided separately so that garbage collected language bindings can call it earlier to guarantee when FDs are closed.

Parameters:

this

a SubprocessLauncher