| Index: remoting/host/win/wts_session_process_delegate.cc
|
| diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc
|
| index 7469d5d74fc9a931d8d241ff7865c2b500c0e918..d5d9f58c89b108afc4084b64559ce37a23f7e5b9 100644
|
| --- a/remoting/host/win/wts_session_process_delegate.cc
|
| +++ b/remoting/host/win/wts_session_process_delegate.cc
|
| @@ -414,13 +414,16 @@
|
| // Try to launch the process.
|
| ScopedHandle worker_process;
|
| ScopedHandle worker_thread;
|
| - if (!LaunchProcessWithToken(
|
| - command_line.GetProgram(), command_line.GetCommandLineString(),
|
| - session_token_.Get(), security_attributes.get(),
|
| - /* thread_attributes= */ nullptr, /* handles_to_inherit=*/{},
|
| - /* creation_flags= */ CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB,
|
| - base::UTF8ToUTF16(kDefaultDesktopName).c_str(), &worker_process,
|
| - &worker_thread)) {
|
| + if (!LaunchProcessWithToken(command_line.GetProgram(),
|
| + command_line.GetCommandLineString(),
|
| + session_token_.Get(),
|
| + security_attributes.get(),
|
| + nullptr,
|
| + false,
|
| + CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB,
|
| + base::UTF8ToUTF16(kDefaultDesktopName).c_str(),
|
| + &worker_process,
|
| + &worker_thread)) {
|
| ReportFatalError();
|
| return;
|
| }
|
|
|