added experimental stdin support to children (fingers crossed, this will make pdb handling in children very simple)