Update unix.go (#117)

This commit is contained in:
Glenn Y. Rolland
2019-11-15 08:24:03 -05:00
committed by David Dollar
parent 4bb213294f
commit 51d9f6dc5f
+1 -1
View File
@@ -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() {