allow selecting stdout and stderr with inpipestream