Skip to content

Commit

Permalink
Make sure not to hide the console window of the running process on Wi…
Browse files Browse the repository at this point in the history
…ndows. Fix Vector35#579
  • Loading branch information
xusheng6 committed Jun 18, 2024
1 parent 3cc2308 commit dfd8b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/adapters/dbgengadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ bool DbgEngAdapter::LaunchDbgSrv(const std::string& commandLine)
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
memset(&pi, 0, sizeof(pi));
if (!CreateProcessA(NULL, (LPSTR)commandLine.c_str(), NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi))
if (!CreateProcessA(NULL, (LPSTR)commandLine.c_str(), NULL, NULL, FALSE, DETACHED_PROCESS, NULL, NULL, &si, &pi))
{
return false;
}
Expand Down

0 comments on commit dfd8b2b

Please sign in to comment.