Skip to content

Commit 61ae646

Browse files
committed
Use -NoProfile in powershell to (hopefully) suppress output
1 parent 960c23f commit 61ae646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/arduino_ci/arduino_downloader_windows.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module ArduinoCI
1010
class ArduinoDownloaderWindows < ArduinoDownloader
1111

1212
def powershell(*args)
13-
encoded_cmd = Base64.strict_encode64((args.shelljoin + " | Out-Null").encode('utf-16le'))
14-
system("powershell.exe", "-encodedCommand", encoded_cmd)
13+
encoded_cmd = Base64.strict_encode64(args.shelljoin.encode('utf-16le'))
14+
system("powershell.exe", "-NoProfile", "-encodedCommand", encoded_cmd)
1515
end
1616

1717
def cygwin(*args)

0 commit comments

Comments
 (0)