Hello, I'm writing a server side program that needs to run a program on the UNIX server using execl() or execlp(), and I need to somehow return this output back to the client side. The server handles multiple clients by using the select() function. Right now I have this working by returning the results of execl() to the client by using pipe() and dup(). I was wondering if it would be possible to do this with select() and if so, how?
Thanks in advance for any help.