| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Stdio
Stdio.File

# Method Stdio.File()->set_close_on_exec()

Method set_close_on_exec

  `void set_close_on_exec(int(0..1) 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()