Instead, ignore stdin. Otherwise this interfers with a sub-process which expects to have a stdin file descriptor open.