You may want to read the site's FAQs and one or both of these: On asking for help and How do I post a question effectively?. We strive to provide a learning enviroment... not a codewriting service.
But, for starters on the problem that brought you here, you may wish to read about system, exec, backticks et al. And feeding a fairly obvious selection of keywords to Super Search will provide you with a rather extensive list of nodes on the very topic.
Obligatory correction: "doesn't work" is NOT a useful description of a failure. What happened? What warnings or errors messages did you receive? What's your code look like? (What you post should demonstrate your problem, repeatably; but as minimal as possible while satisfying the first constraint.) And what process -- a shell process, an executable, what?
Give us a chance to provide useful help by providing those elements, and you're virtually guaranteed to get responsive replies, probably quicker than you expect.
In reply to Re: Communicate with child process via stdin, stdout
by ww
in thread Communicate with child process via stdin, stdout
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |