On Fri, Dec 29, 2006 at 10:17:55AM +0000, Colin Tuckley wrote: > The interpreter allows the user to execute shell commands, this is > implemented using the "system" call. > > [...] > > What is the best solution to this problem? Why can't you just set up a pipe, fork, connect stdout of the child to one end of the pipe, and exec the program? /* Steinar */ -- Homepage: http://www.sesse.net/