Compare commits

...

1 Commits

Author SHA1 Message Date
Xuan Son Nguyen 84f13f901c vendor: update subprocess.h 2026-07-24 07:22:25 +02:00
3 changed files with 706 additions and 127 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ vendor = {
f"https://raw.githubusercontent.com/yhirose/cpp-httplib/{HTTPLIB_VERSION}/split.py": "split.py",
f"https://raw.githubusercontent.com/yhirose/cpp-httplib/{HTTPLIB_VERSION}/LICENSE": "vendor/cpp-httplib/LICENSE",
"https://raw.githubusercontent.com/sheredom/subprocess.h/b49c56e9fe214488493021017bf3954b91c7c1f5/subprocess.h": "vendor/sheredom/subprocess.h",
"https://raw.githubusercontent.com/sheredom/subprocess.h/8671cee1fc09f11a70ce3782a0ee13177c3aa387/subprocess.h": "vendor/sheredom/subprocess.h",
}
for url, filename in vendor.items():
+1 -1
View File
@@ -852,7 +852,7 @@ void server_models::load(const std::string & name, const load_options & opts) {
// so that we can use stdout for commands and stderr for logging
int options = subprocess_option_no_window | subprocess_option_combined_stdout_stderr;
inst.subproc->sproc.emplace();
int result = subprocess_create_ex(argv.data(), options, envp.data(), &inst.subproc->get());
int result = subprocess_create_ex(argv.data(), options, envp.data(), nullptr, &inst.subproc->get());
if (result != 0) {
throw std::runtime_error("failed to spawn server instance");
}
+704 -125
View File
File diff suppressed because it is too large Load Diff