diff --git a/wrapper/wrapper.C b/wrapper/wrapper.C index a1dee46f0b..28b37a31e5 100644 --- a/wrapper/wrapper.C +++ b/wrapper/wrapper.C @@ -286,7 +286,7 @@ int TASK::run(int argct, char** argvt) { } if (!CreateProcess( - app_path.c_str(), + app_path, (LPSTR)command.c_str(), NULL, NULL,