mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
util: omit -l for csh as -l should be the only flag specified to run login shell (IDEA-CR-17716)
This commit is contained in:
@@ -218,7 +218,7 @@ public class EnvironmentUtil {
|
||||
throw new Exception("shell:" + shell);
|
||||
}
|
||||
List<String> commands = ContainerUtil.newArrayList(shell);
|
||||
if (!shell.endsWith("/tcsh")) {
|
||||
if (!shell.endsWith("/tcsh") && !shell.endsWith("/csh")) {
|
||||
// Act as a login shell
|
||||
// tsch does allow to use -l with any other options
|
||||
commands.add("-l");
|
||||
|
||||
Reference in New Issue
Block a user