branch | v_0 |
changeset 46 | b5ae61996281 |
parent 30 | 56409232e1a1 |
child 62 | a467e8cbd16b |
--- a/src/SubProcess.cpp Sat Jan 18 20:09:34 2020 +0100 +++ b/src/SubProcess.cpp Sun Jan 19 00:57:22 2020 +0100 @@ -76,7 +76,7 @@ for (size_t i = 0; i < args.size(); i++) a[i] = args[i].c_str(); a[args.size()] = nullptr; - execvp(a[0], (char*const*) a); + execv(a[0], (char*const*) a); delete[] a; throw SubProcess::Exception(L"Unable to do execvp().");