[MultiSource] Fix argument parsing bug when program path contains parameters as substring
diff --git a/MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/param_utils.cpp b/MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/param_utils.cpp index c81901f..8c88bd7 100644 --- a/MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/param_utils.cpp +++ b/MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/param_utils.cpp
@@ -35,7 +35,8 @@ //------------------------------------------------------------- void read_args_into_string(int argc, char** argv, std::string& arg_string) { - arg_string = argv[0]; + // Fix argument parsing to exclude argv[0] and prevent false detection of parameters in program path. + arg_string = ""; for(int i=1; i<argc; ++i) { arg_string += " " + std::string(argv[i]); }