Subprocess Input Processing Output Cycle