From: Ed W <li...@wi...> - 2007-06-16 19:52:44
|
Hi > Does the "small C based installer app" use buffering on its pipes or > not? If not, is there a way to write another small C (or PerlApp-based) > wrapper that is also marked as needing elevated permissions that will > then start the installer app and redirect its output to a temp file that > can then be read by the Wx app? > No, I wrote the app, so I don't think it buffers its output (or if it does then it can be changed) I had considered running the program via shellexecute, spooling the output to a file and reading in the file. Seemed quite ugly though... I hadn't really given it much more thought, but why would I need a wrapper around the shellexecute? Does it turn out to be difficult to start that up with output redirected to a file? Cheers Ed W |