mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add log message for launching process
This commit is contained in:
@@ -426,7 +426,12 @@ uint32_t Process::LaunchProcess(const char *app, const char *workingDir, const c
|
||||
PROCESS_INFORMATION pi = RunProcess(app, workingDir, cmdLine);
|
||||
|
||||
if(pi.dwProcessId == 0)
|
||||
{
|
||||
RDCERR("Couldn't launch process '%s'", app);
|
||||
return 0;
|
||||
}
|
||||
|
||||
RDCLOG("Launched process '%s' with '%s'", app, cmdLine);
|
||||
|
||||
ResumeThread(pi.hThread);
|
||||
CloseHandle(pi.hThread);
|
||||
|
||||
Reference in New Issue
Block a user