Commit graph

2 commits

Author SHA1 Message Date
Shane Lee
580ad437fd Fix some tests 2024-05-14 21:15:16 +01:00
Shane Lee
45c56b0033 Fix issues with the cmd module on Windows
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
2024-05-14 21:15:16 +01:00