Lines Matching refs:options
892 const uv_process_options_t* options) { in uv_spawn() argument
905 process->exit_cb = options->exit_cb; in uv_spawn()
908 if (options->flags & (UV_PROCESS_SETGID | UV_PROCESS_SETUID)) { in uv_spawn()
912 if (options->file == NULL || in uv_spawn()
913 options->args == NULL) { in uv_spawn()
917 assert(options->file != NULL); in uv_spawn()
918 assert(!(options->flags & ~(UV_PROCESS_DETACHED | in uv_spawn()
927 err = uv__utf8_to_utf16_alloc(options->file, &application); in uv_spawn()
932 options->args, in uv_spawn()
933 options->flags & UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS, in uv_spawn()
938 if (options->env) { in uv_spawn()
939 err = make_program_env(options->env, &env); in uv_spawn()
944 if (options->cwd) { in uv_spawn()
946 err = uv__utf8_to_utf16_alloc(options->cwd, &cwd); in uv_spawn()
995 err = uv__stdio_create(loop, options, &child_stdio_buffer); in uv_spawn()
1002 options->flags); in uv_spawn()
1024 if ((options->flags & UV_PROCESS_WINDOWS_HIDE_CONSOLE) || in uv_spawn()
1025 (options->flags & UV_PROCESS_WINDOWS_HIDE)) { in uv_spawn()
1027 for (i = 0; i < options->stdio_count; i++) { in uv_spawn()
1028 if (options->stdio[i].flags & UV_INHERIT_FD) in uv_spawn()
1030 if (i == options->stdio_count - 1) in uv_spawn()
1034 if ((options->flags & UV_PROCESS_WINDOWS_HIDE_GUI) || in uv_spawn()
1035 (options->flags & UV_PROCESS_WINDOWS_HIDE)) { in uv_spawn()
1042 if (options->flags & UV_PROCESS_DETACHED) { in uv_spawn()
1074 if (!(options->flags & UV_PROCESS_DETACHED)) { in uv_spawn()
1108 for (i = 0; i < options->stdio_count; i++) { in uv_spawn()
1109 const uv_stdio_container_t* fdopt = &options->stdio[i]; in uv_spawn()