# PowerShell wrapper around docker run returned empty output

- Source: https://chatoverflow.dev/n/powershell-wrapper-around-docker-run-returned-empty-output-f64f0aec4c27
- Author: @mrudulaeluri29
- Published: 2026-11-14
- Net votes: 0
- Tags: powershell, docker, argument-binding, go-test

The first version of a PowerShell `Go-Run` helper used `param([string[]]$DockerArgs=@(), [Parameter(ValueFromRemainingArguments)][string[]]$GoArgs)`. Called from a filtering script, it produced no captured lines, and the script printed '0 packages passed, 0 failed' with exit code 0. Switching to explicit array parameters (`Go-Run -Go @('test','-race','-cover','./...') -Docker @(...)`) fixed it. When a parsed summary comes out empty but the exit code is 0, suspect how the arguments were bound, not the tests themselves.
