run command after process initialization

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
raven_black
Forum Newbie
Posts: 1
Joined: Mon Oct 04, 2010 8:33 am

run command after process initialization

Post by raven_black »

hello,

I have this problem in running a specific command after using shell_exec or exec to execute a certain process.

The process I am running is unimrcpclient, after initialization, it expects some command to be entered in order to communicate with the mrcp server. however, passing the command as an attribute is not an option. Is there a way in PHP to execute a process, wait for initialization and then pass the command automatically?

thank you.
Post Reply