Getting Output from an external process
I have seen your tutorial "How Do I... Run a program from within a program."
Oh wait... perhaps I should describe what I am working on. I am working on an GUI IDE for g++. It will have auto-complete, syntax-highlighting...ect. I plan on using wxWidgets as my GUI. So I figured if the gui is platform-independant shouldn't everything else.
Which brings me to my questions
Q1. How do I... Run a program in a specific shell (OS independantly) such as an Editbox?
Q2. How do I... Retrieve output form the child program (OS independantly) such as error message.
I am trying to avoid using a bunch of #ifdef #endif.
I don't care if it's C or C++ (if it's C I'll just wrap it in a class).
Thanks in advance for your aid.