in reply to Re^2: Capturing stderrin thread Capturing stderr
The code also includes detection of commands that have been running for too long or when the array's output size exceeds $g_maxlines lines.
0xbeef