using declaration disposes synchronously after return evaluates the promise expression but before it settles, killing the child process and producing empty stdout. Adding await ensures the process completes before Symbol.dispose fires.
using declaration disposes synchronously after return evaluates the promise expression but before it settles, killing the child process and producing empty stdout. Adding await ensures the process completes before Symbol.dispose fires.