[process] fixed: pipe creation if no stdout or stdin