We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f49d8 commit 6512c03Copy full SHA for 6512c03
lib/train/extras/command_wrapper.rb
@@ -137,7 +137,7 @@ def run(script)
137
# especially in local mode, we cannot be sure that we get a Powershell
138
# we may just get a `cmd`.
139
# TODO: we may want to opt for powershell.exe -command instead of `encodeCommand`
140
- "powershell -encodedCommand #{encoded(safe_script(script))}"
+ "powershell -NoProfile -encodedCommand #{encoded(safe_script(script))}"
141
end
142
143
# suppress the progress stream from leaking to stderr
0 commit comments