Browse Source

Output error message to stdout in case of execv failure.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@113 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 8 years ago
parent
commit
4f5cbfdfd3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      child.cpp

+ 1
- 1
child.cpp View File

@@ -1254,7 +1254,7 @@ namespace CodeDweller {
errMsg = "Error (from exec) running the command \"";
errMsg += execvArgv[0];
errMsg += "\": " + getErrorText();
iDummy = ::write(STDOUT_FILENO, errMsg.data(), errMsg.size());
::write(STDOUT_FILENO, errMsg.data(), errMsg.size());
exit(-1);
}

Loading…
Cancel
Save