mirror of
https://github.com/janet-lang/janet
synced 2026-11-22 15:17:16 +00:00
Fix installer.
This commit is contained in:
1 parent
064a700edd
commit
7bee204390
3 files changed
+5
-4
No files matched your search
+1
-1
@@ -295,7 +295,7 @@ static Janet os_execute(int32_t argc, Janet *argv) {
|
||||
#ifdef JANET_WINDOWS
|
||||
|
||||
JanetBuffer *buf = os_exec_escape(exargs);
|
||||
if (buf->count > 1025) {
|
||||
if (buf->count > 8191) {
|
||||
janet_panic("command line string too long");
|
||||
}
|
||||
const char *path = (const char *) janet_unwrap_string(exargs.items[0]);
|
||||
|
||||
Reference in new issue
Block a user