Browse Source

Improved error message.


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

+ 3
- 1
child.cpp View File

@@ -1247,7 +1247,9 @@ namespace CodeDweller {
std::string errMsg;
// Send message to parent.
errMsg = "Error from exec: " + getErrorText();
errMsg = "Error (from exec) running the command \"";
errMsg += execvArgv[0];
errMsg += ": " + getErrorText();
::write(STDOUT_FILENO, errMsg.data(), errMsg.size());
exit(-1);

Loading…
Cancel
Save