Pass stdin to child process. closes #3751