Log actual application path when testing
This commit is contained in:
parent
ca6663a6d5
commit
34eac527ee
|
@ -370,9 +370,12 @@ int execAppInternal(const char *appPath, const char *const *args, std::string &o
|
||||||
{
|
{
|
||||||
// print log message
|
// print log message
|
||||||
if (!suppressLogging) {
|
if (!suppressLogging) {
|
||||||
cout << '-';
|
// print actual appPath and skip first argument instead
|
||||||
for (const char *const *i = args; *i; ++i) {
|
cout << '-' << ' ' << appPath;
|
||||||
cout << ' ' << *i;
|
if (*args) {
|
||||||
|
for (const char *const *i = args + 1; *i; ++i) {
|
||||||
|
cout << ' ' << *i;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
cout << endl;
|
cout << endl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue