Revert "Rerlaced child.stdin.end(bla-bla) with proper stdin options in child_process.spawn()"

This reverts commit d7f7e4734fc3596d88a0e3fbd3a7f64948300e14.