summaryrefslogtreecommitdiff
path: root/src/ProcessWindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProcessWindows.cpp')
-rw-r--r--src/ProcessWindows.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ProcessWindows.cpp b/src/ProcessWindows.cpp
index 77ca13c..e32ab6f 100644
--- a/src/ProcessWindows.cpp
+++ b/src/ProcessWindows.cpp
@@ -42,7 +42,7 @@ void ProcessWindows::CreateChildProcess(std::string engine_path)
// If an error occurs, exit the application.
if (!bSuccess)
- ErrorExit(TEXT("CreateProcess"));
+ throw FailedToStartEngine();
else {
// Close handles to the child process and its primary thread.
// Some applications might keep these handles to monitor the status
@@ -90,7 +90,6 @@ void ProcessWindows::ErrorExit(PTSTR lpszFunction)
ProcessWindows::ProcessWindows() {
- printf("\n->Start of parent execution.\n");
saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
saAttr.bInheritHandle = TRUE;
saAttr.lpSecurityDescriptor = NULL;