Skip to content

Commit

Permalink
Restore the previous order of shell arguments in resolveShellEnv (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gzdunek committed Sep 17, 2024
1 parent b62dfd8 commit 110b23a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function resolveUnixShellEnv(
// When bash is run with -c, it is considered a non-interactive shell, and it does not read ~/.bashrc, unless is -i specified.
// https://unix.stackexchange.com/questions/277312/is-the-shell-created-by-bash-i-c-command-interactive
const shellArgs =
shell === '/bin/tcsh' || shell === '/bin/csh' ? ['-ic'] : ['-cil'];
shell === '/bin/tcsh' || shell === '/bin/csh' ? ['-ic'] : ['-ilc'];

logger.info(`Reading shell ${shell} ${shellArgs} ${command}`);

Expand Down

0 comments on commit 110b23a

Please sign in to comment.