VERY experimental Nintendo Switch 2 emulator
C++
Use execlp instead of execl to avoid failure
Marco Rubinded2aae24f04
diff --git a/src/yuzu/startup_checks.cpp b/src/yuzu/startup_checks.cppindex 5638183629..9f702fe95e 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);