fixed small bug with POSIX ProcessRunner (close stdin from parent when done writing)