diff --git a/Sources/SourceKitBazelBSP/SharedUtils/Shell/ShellCommandRunner.swift b/Sources/SourceKitBazelBSP/SharedUtils/Shell/ShellCommandRunner.swift index 038a445..81b748e 100644 --- a/Sources/SourceKitBazelBSP/SharedUtils/Shell/ShellCommandRunner.swift +++ b/Sources/SourceKitBazelBSP/SharedUtils/Shell/ShellCommandRunner.swift @@ -43,7 +43,7 @@ struct ShellCommandRunner: CommandRunner { process.currentDirectoryURL = URL(fileURLWithPath: cwd) } - process.arguments = ["-c", cmd] + process.arguments = ["-l", "-c", cmd] process.standardInput = nil // Keep child processes in the same process group