Add log message for launching process

This commit is contained in:
baldurk
2015-07-18 23:12:20 +02:00
parent 70d98240d9
commit e22a62ef1f
+5
View File
@@ -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);