mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
Update unix.go (#117)
This commit is contained in:
committed by
David Dollar
parent
4bb213294f
commit
51d9f6dc5f
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user