Fixed a build error for single-threaded Linux

This commit is contained in:
2025-09-24 08:13:19 +03:00
parent bb246f24aa
commit 64eb427c5d

View File

@@ -823,9 +823,9 @@ int os_exec(const char *program, const char *arg, int wait_completion)
pid_t pid; pid_t pid;
int pid_status; int pid_status;
pid = fork(); pid = vfork();
if (pid < 0) { if (pid < 0) {
perror("fork"); perror("vfork");
return -1; return -1;
} }