mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00

stderr is no longer piped to stdout by default for cmd.run Scripts are called using the -File paramter for powershell.exe stderr is cleared if it contains CLIXML (only for encoded commands) cmd.powershell now accepts lists as commands Makes sure returned JSON data is valid before trying to load it Strips whitespace from the stdout in win_runas
439 B
439 B
Fixes multiple issues with the cmd module on Windows. stderr
is no
longer piped to stdout
by default on cmd.run
. Scripts are called
using the -File
parameter to the powershell.exe
binary. CLIXML
data in stderr is now removed (only applies to encoded commands). Commands can
now be sent to cmd.powershell
as a list. Makes sure JSON data returned is
valid. Strips whitespace from the return when using runas
.