allow the child to read from stdin