Pike v8.1 release 6

Method Stdio.Fd()->set_close_on_exec()


Method set_close_on_exec

void set_close_on_exec(bool yes_no)

Description

Marks the file as to be closed in spawned processes.

This function determines whether this file will be closed when calling exec().

Default is that the file WILL be closed on exec except for stdin, stdout and stderr.

See also

Process.create_process(), exec()