mirror of https://github.com/docker/docs.git
Disabled load PowerShell profile when start the interpreter powershell.exe
Signed-off-by: Ivan Ryabchenko <rik.ggm@gmail.com>
This commit is contained in:
parent
f8b0ca86c2
commit
d4ce483ebc
|
@ -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