X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/260f5b9677866b61cd6ada7c6516faefcfcd1989..9692d43fa911bdc2d6d0263a3cb3e22d5e3167fe:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index ff6cef6481..260edd47eb 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -165,10 +165,10 @@ Session* Session::spawnv(const char *path, char *const argv[]) } // static -Session* Session::spawnvp(const char *path, char *const argv[]) +Session* Session::spawnvp(const char *file, char *const argv[]) { return Session::fork([&] { - execvp(path, argv); + execvp(file, argv); }); }