Waits for queued stdout writes to reach their destination before the process exits.
A promise that resolves when stdout has flushed.
Waits for queued stdout writes to reach their destination before the process exits.