mirror of
https://github.com/janet-lang/janet
synced 2026-04-25 00:01:26 +00:00
Fix installer.
This commit is contained in:
@@ -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