From 51d9f6dc5ffb962e7efe4b461eca53d87587012c Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 15 Nov 2019 14:24:03 +0100 Subject: [PATCH] Update unix.go (#117) --- unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix.go b/unix.go index b76a3f8..84f158c 100644 --- a/unix.go +++ b/unix.go @@ -15,7 +15,7 @@ func ShellInvocationCommand(interactive bool, root, command string) []string { shellArgument = "-ic" } shellCommand := fmt.Sprintf("cd \"%s\"; source .profile 2>/dev/null; exec %s", root, command) - return []string{"bash", shellArgument, shellCommand} + return []string{"sh", shellArgument, shellCommand} } func (p *Process) PlatformSpecificInit() {