Skip to content

Commit

Permalink
remove DETACHED_PROCESS
Browse files Browse the repository at this point in the history
  • Loading branch information
galich committed Apr 9, 2020
1 parent abc2759 commit a5a8b3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fn run_server_process() -> Result<ServerStartup> {
use winapi::um::handleapi::CloseHandle;
use winapi::um::processthreadsapi::{CreateProcessW, PROCESS_INFORMATION, STARTUPINFOW};
use winapi::um::winbase::{
CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW, CREATE_UNICODE_ENVIRONMENT, DETACHED_PROCESS,
CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW, CREATE_UNICODE_ENVIRONMENT,
};

trace!("run_server_process");
Expand Down Expand Up @@ -224,7 +224,6 @@ fn run_server_process() -> Result<ServerStartup> {
ptr::null_mut(),
FALSE,
CREATE_UNICODE_ENVIRONMENT
| DETACHED_PROCESS
| CREATE_NEW_PROCESS_GROUP
| CREATE_NO_WINDOW,
envp.as_mut_ptr() as LPVOID,
Expand Down

0 comments on commit a5a8b3e

Please sign in to comment.