diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-09-01 14:44:08 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-09-01 14:44:08 +0000 |
commit | a3fef020a305338363ec933dba834b475510c48e (patch) | |
tree | 7f782b5e3e3823fde01fe7004aaf3560e2fe3b23 /cpp/src/IceGrid/Activator.cpp | |
parent | IceGrid Windows port. (diff) | |
download | ice-a3fef020a305338363ec933dba834b475510c48e.tar.bz2 ice-a3fef020a305338363ec933dba834b475510c48e.tar.xz ice-a3fef020a305338363ec933dba834b475510c48e.zip |
Added support for env variable substitution (Unix only for now).
Diffstat (limited to 'cpp/src/IceGrid/Activator.cpp')
-rw-r--r-- | cpp/src/IceGrid/Activator.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cpp/src/IceGrid/Activator.cpp b/cpp/src/IceGrid/Activator.cpp index bcb96168b7d..3b246ed95f1 100644 --- a/cpp/src/IceGrid/Activator.cpp +++ b/cpp/src/IceGrid/Activator.cpp @@ -12,6 +12,7 @@ #include <IceGrid/Admin.h> #include <IceGrid/Internal.h> #include <IceGrid/TraceLevels.h> +#include <IceGrid/Util.h> #include <sys/types.h> #include <sys/stat.h> @@ -441,13 +442,13 @@ Activator::activate(const string& name, out << "\n"; out << "path = " << path << "\n"; out << "pwd = " << pwd << "\n"; - out << "args = "; - - StringSeq::const_iterator p = args.begin(); - ++p; - for(StringSeq::const_iterator q = p; q != args.end(); ++q) + if(!envs.empty()) + { + out << "envs = " << toString(envs, ", ") << "\n"; + } + if(!args.empty()) { - out << " " << *q; + out << "args = " << toString(args); } } } |