Skip to content

Commit

Permalink
Also add norc flag
Browse files Browse the repository at this point in the history
  • Loading branch information
skovhus committed Dec 13, 2022
1 parent 84cc8c4 commit b33214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/util/sh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b33214d

Please sign in to comment.