i did smthing like this .. st = child.exe(,fn(err,stdout,stderr){ st.stdin.write() })