From 637c12192efe748ba8d9f34263b5fe67dea6199c Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Sun, 27 Jul 2025 15:56:40 +0800 Subject: [PATCH] bin/gua.ts: set LimitSTACK = infinity --- src/bin/gua.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/gua.ts b/src/bin/gua.ts index 6184308..91c397f 100644 --- a/src/bin/gua.ts +++ b/src/bin/gua.ts @@ -10,6 +10,7 @@ const uuid = randomUUID() spawn("systemd-run", [ `--working-directory=${path.resolve(process.cwd())}`, + `--property=LimitSTACK=infinity`, ...systemdRunOptions({ user: true, unit: uuid, @@ -20,4 +21,4 @@ spawn("systemd-run", console.log(`Service started as ID: ${uuid}, command suggest:`) console.log(chalk.red(` systemctl --user status ${uuid}`)) -console.log(chalk.red(` journalctl --user -xeu ${uuid}`)) \ No newline at end of file +console.log(chalk.red(` journalctl --user -xeu ${uuid}`))