added the ability to close stdin (default = keep open) in the child process when no data is passed