Capture program stdout and stderr to separate variables Capture program stdout and stderr to separate variables windows windows