From b33214de34564422c23aa3d6ca0f2d4bba14a0d5 Mon Sep 17 00:00:00 2001 From: skovhus Date: Tue, 13 Dec 2022 15:50:57 +0100 Subject: [PATCH] Also add norc flag --- server/src/util/sh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/util/sh.ts b/server/src/util/sh.ts index c9d02482..a62d9578 100644 --- a/server/src/util/sh.ts +++ b/server/src/util/sh.ts @@ -14,7 +14,7 @@ export function execShellScript( if (cmd === 'cmd.exe') { args.push('/c', body) } else { - args.push('--noprofile', '-c', body) + args.push('--noprofile', '--norc', '-c', body) } const process = ChildProcess.spawn(cmd, args)