EOF now correctly detected in ChildProcess