Windows async - handle trailing junk output (#85820) (#85829)

Add handling for when a PowerShell module emits more than just the
module result JSON. The behaviour reflects the Python async wrapper
where trailing data after the module result will emit a warning.

(cherry picked from commit aad9fbd4f5)
This commit is contained in:
Jordan Borean
2025-09-29 13:15:24 -07:00
committed by GitHub
parent d09ee36b8f
commit 60fe03290f
4 changed files with 48 additions and 4 deletions
@@ -0,0 +1,3 @@
bugfixes:
- >-
Windows async - Handle running PowerShell modules with trailing data after the module result