I want to execute a program which normaly when started expect some data to be entered by the user from the standart input. when done (end of file signaled) the program outputs (on the standart output) what it has to.
How can I manipulate this program with PHP?