mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Add CREATE_NO_WINDOW flag to process creation in os_spawn
This commit is contained in:
parent
7afed76f06
commit
e191127b0d
1 changed files with 2 additions and 2 deletions
|
|
@ -2611,7 +2611,7 @@ pid_t os_spawn(char** argv, int* stdout_read_int, int* stderr_read_int, const ch
|
|||
cmd_buffer,
|
||||
NULL, NULL,
|
||||
TRUE, /* inherit pipe handles */
|
||||
CREATE_NEW_PROCESS_GROUP,
|
||||
CREATE_NEW_PROCESS_GROUP | CREATE_NO_WINDOW,
|
||||
NULL, cwd,
|
||||
&si, &pi
|
||||
);
|
||||
|
|
@ -2670,7 +2670,7 @@ pid_t os_spawn(char** argv, int* stdout_read_int, int* stderr_read_int, const ch
|
|||
cmd_buffer,
|
||||
NULL, NULL,
|
||||
TRUE, /* inherit pipe handles */
|
||||
CREATE_NEW_PROCESS_GROUP | CREATE_UNICODE_ENVIRONMENT,
|
||||
CREATE_NEW_PROCESS_GROUP | CREATE_UNICODE_ENVIRONMENT | CREATE_NO_WINDOW,
|
||||
env, cwd,
|
||||
&si, &pi
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue