1
0
mirror of https://github.com/janet-lang/janet synced 2026-04-25 00:01:26 +00:00

Fix installer.

This commit is contained in:
Calvin Rose
2019-09-22 13:19:02 -04:00
parent 064a700edd
commit 7bee204390
3 changed files with 5 additions and 4 deletions

View File

@@ -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]);