Skip to content

Commit 72cff59

Browse files
tomduffianfixes
authored andcommitted
Attempt to supress powershell output
It appears that the standard way to do it is pipe to null. The logs are spammed when run locally so I am not sure if this has the desired effect
1 parent 6656efd commit 72cff59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arduino_ci/arduino_downloader_windows.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module ArduinoCI
1010
class ArduinoDownloaderWindows < ArduinoDownloader
1111

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

0 commit comments

Comments
 (0)