diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-18 17:46:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-18 17:46:43 +0100 |
commit | 2724ffd6e3298ed8d1062553d88484d6245e1793 (patch) | |
tree | c61e61c36ee8413317fc58108626b80c00e79d96 | |
parent | Merge pull request #9467 from german77/folder (diff) | |
parent | Use execlp instead of execl to avoid failure (diff) | |
download | yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar.gz yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar.bz2 yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar.lz yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar.xz yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.tar.zst yuzu-2724ffd6e3298ed8d1062553d88484d6245e1793.zip |
-rw-r--r-- | src/yuzu/startup_checks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/startup_checks.cpp b/src/yuzu/startup_checks.cpp index 563818362..9f702fe95 100644 --- a/src/yuzu/startup_checks.cpp +++ b/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); |