1. tasks and waiting
- Posted by useless Aug 19, 2009
- 859 views
I have an eu4 internet application, in which i wish to system() another application, but i do not want the current application to stop accepting and replying to other connections. When the system()'d app finishes, it's to send data back, which the first app sends out to the connection.
How can i do this?
useless
2. Re: tasks and waiting
- Posted by jeremy (admin) Aug 19, 2009
- 832 views
You can use pipeio.e, which will allow you to open a sub-process in a background shell. Your app can continue doing whatever it wants and when it wants read from the sub-process. It can also terminate it when it wants.
Jeremy