mirror of https://github.com/docker/docs.git
Merge pull request #1796 from rikdev/powershell-no-profile
Disabled load PowerShell profile when start the powershell.exe
This commit is contained in:
commit
0fb4991068
|
@ -24,6 +24,7 @@ func init() {
|
|||
}
|
||||
|
||||
func execute(args []string) (string, error) {
|
||||
args = append([]string{"-NoProfile"}, args...)
|
||||
cmd := exec.Command(powershell, args...)
|
||||
log.Debugf("[executing ==>] : %v %v", powershell, strings.Join(args, " "))
|
||||
var stdout bytes.Buffer
|
||||
|
|
Loading…
Reference in New Issue