in reply to Re^2: Child process reading <STDIN> from parent
in thread Child process reading <STDIN> from parent

I would recommend you read Eily's post. I think that will get you on the best path.
  • Comment on Re^3: Child process reading <STDIN> from parent