Skip to content

Commit 0cea362

Browse files
authored
vendor: update subprocess.h (ggml-org#26061)
1 parent 0a50d99 commit 0cea362

3 files changed

Lines changed: 706 additions & 127 deletions

File tree

scripts/sync_vendor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
f"https://raw.githubusercontent.com/yhirose/cpp-httplib/{HTTPLIB_VERSION}/split.py": "split.py",
2222
f"https://raw.githubusercontent.com/yhirose/cpp-httplib/{HTTPLIB_VERSION}/LICENSE": "vendor/cpp-httplib/LICENSE",
2323

24-
"https://raw.githubusercontent.com/sheredom/subprocess.h/b49c56e9fe214488493021017bf3954b91c7c1f5/subprocess.h": "vendor/sheredom/subprocess.h",
24+
"https://raw.githubusercontent.com/sheredom/subprocess.h/8671cee1fc09f11a70ce3782a0ee13177c3aa387/subprocess.h": "vendor/sheredom/subprocess.h",
2525
}
2626

2727
for url, filename in vendor.items():

tools/server/server-models.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ void server_models::load(const std::string & name, const load_options & opts) {
852852
// so that we can use stdout for commands and stderr for logging
853853
int options = subprocess_option_no_window | subprocess_option_combined_stdout_stderr;
854854
inst.subproc->sproc.emplace();
855-
int result = subprocess_create_ex(argv.data(), options, envp.data(), &inst.subproc->get());
855+
int result = subprocess_create_ex(argv.data(), options, envp.data(), nullptr, &inst.subproc->get());
856856
if (result != 0) {
857857
throw std::runtime_error("failed to spawn server instance");
858858
}

0 commit comments

Comments
 (0)