static PyObject * Process_func_disable_stdio_inheritance(PyObject *cls) { UNUSED_ARG(cls); uv_disable_stdio_inheritance(); Py_RETURN_NONE; }
/// Initializes job control resources void job_init(void) { uv_disable_stdio_inheritance(); uv_timer_init(uv_default_loop(), &job_stop_timer); uv_signal_init(uv_default_loop(), &schld); uv_signal_start(&schld, chld_handler, SIGCHLD); }
static int luv_disable_stdio_inheritance(lua_State* L) { uv_disable_stdio_inheritance(); return 0; }
void job_init() { uv_disable_stdio_inheritance(); uv_prepare_init(uv_default_loop(), &job_prepare); }
/** * @brief Disables inheritance for file descriptors/handles. * * Disables inheritance for file descriptors/handles that this process * inherited from its parent. The effect is that child processes spawned by * this process don’t accidentally inherit these handles.<br/> * It is recommended to call this function as early in your program as * possible, before the inherited file descriptors can be closed or * duplicated. * * See the official * [documentation](http://docs.libuv.org/en/v1.x/process.html#c.uv_disable_stdio_inheritance) * for further details. */ static void disableStdIOInheritance() noexcept { uv_disable_stdio_inheritance(); }