Use execvpe instead of execve in omnitrace-sample (#187)
* Use execvpe instead of execve in omnitrace-sample
- previous implementation preferred exe in PATH over exe in PWD
- 'p' variants of exec duplicate the actions of the shell in searching for an executable file if the specified filename does not contain a slash character
* OpenMPI oversubscribe arg in testing
[ROCm/rocprofiler-systems commit: 139070a2de]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
58c7c71af6
Коммит
268f94be4b
@@ -64,12 +64,6 @@ auto updated_envs = std::set<std::string_view>{};
|
||||
auto original_envs = std::set<std::string>{};
|
||||
} // namespace
|
||||
|
||||
std::string
|
||||
get_command(const char* _argv0)
|
||||
{
|
||||
return omnitrace::path::find_path(_argv0, 0, omnitrace::common::get_env("PATH", ""));
|
||||
}
|
||||
|
||||
std::string
|
||||
get_realpath(const std::string& _v)
|
||||
{
|
||||
|
||||
Ссылка в новой задаче
Block a user