ggml: Vulkan build, Linux -- output error string for errno on fork failure (#20868) (llama/20904)
This commit is contained in:
parent
18c98ffaf7
commit
78b4fd85e1
|
|
@ -137,6 +137,7 @@ void execute_command(std::vector<std::string>& command, std::string& stdout_str,
|
|||
|
||||
pid_t pid = fork();
|
||||
if (pid < 0) {
|
||||
std::cerr << strerror(errno) << "\n";
|
||||
throw std::runtime_error("Failed to fork process");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue