Browse Source

Merge pull request #9469 from Rubo3/patch-1

Use execlp instead of execl to avoid failure
nce_cpp
liamwhite 3 years ago
committed by GitHub
parent
commit
409afd3d02
  1. 2
      src/yuzu/startup_checks.cpp

2
src/yuzu/startup_checks.cpp

@ -186,7 +186,7 @@ pid_t SpawnChild(const char* arg0) {
return pid;
} else if (pid == 0) {
// child
execl(arg0, arg0, nullptr);
execlp(arg0, arg0, nullptr);
const int err = errno;
fmt::print(stderr, "execl failed with error {}\n", err);
_exit(0);

Loading…
Cancel
Save