Merge pull request #6749 from mwrock/hist
use SafeExec to capture history via up/down keys in powershell command
This commit is contained in:
commit
2ce3c84305
|
@ -1,7 +1,7 @@
|
||||||
require "pathname"
|
require "pathname"
|
||||||
require "tmpdir"
|
require "tmpdir"
|
||||||
|
|
||||||
require "vagrant/util/subprocess"
|
require "vagrant/util/safe_exec"
|
||||||
|
|
||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module HostWindows
|
module HostWindows
|
||||||
|
@ -34,7 +34,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
# Launch it
|
# Launch it
|
||||||
Vagrant::Util::Subprocess.execute("powershell", *args)
|
Vagrant::Util::SafeExec.exec("powershell", *args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue