summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Activator.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-08-28 23:41:27 +0000
committerMarc Laukien <marc@zeroc.com>2001-08-28 23:41:27 +0000
commit8fc36472ad8108e24b6ce17d792e2e9d715851d2 (patch)
treeb475f95dba2fe9e615ac7b38e80a7861683ac5ae /cpp/src/IcePack/Activator.cpp
parentfixes (diff)
downloadice-8fc36472ad8108e24b6ce17d792e2e9d715851d2.tar.bz2
ice-8fc36472ad8108e24b6ce17d792e2e9d715851d2.tar.xz
ice-8fc36472ad8108e24b6ce17d792e2e9d715851d2.zip
many fixes
Diffstat (limited to 'cpp/src/IcePack/Activator.cpp')
-rw-r--r--cpp/src/IcePack/Activator.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/IcePack/Activator.cpp b/cpp/src/IcePack/Activator.cpp
index d3900db798e..ecc3a84da62 100644
--- a/cpp/src/IcePack/Activator.cpp
+++ b/cpp/src/IcePack/Activator.cpp
@@ -163,6 +163,10 @@ IcePack::Activator::activate(const ServerDescriptionPtr& desc)
if (execvp(argv[0], argv) == -1)
{
+ //
+ // Send any errors to the parent process, using the write
+ // end of the pipe.
+ //
SystemException ex(__FILE__, __LINE__);
ostringstream s;
s << "can't execute `" << path << "':\n" << ex;
@@ -262,7 +266,7 @@ IcePack::Activator::terminationListener()
{
//
// If the pipe was closed, the process has
- // terminated
+ // terminated.
//
map<string, Process>::iterator q = p;
++p;