In reply to Re^2: Controlling input and output of different program by rkrasowski in thread Controlling input and output of different program by rkrasowski