LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Running other executables from my app (https://www.linuxquestions.org/questions/programming-9/running-other-executables-from-my-app-211792/)

unholy 07-31-2004 07:54 AM

Running other executables from my app
 
Is it possible from within my c++ programme to run other programmes (or more likely a script) as well as determine their output?

If my program could run 'grep' itself, it would be great.

Thanks for reading,

unholy

Hko 07-31-2004 08:43 AM

Sorry to put it like this, but this has been asked and answered many times before on this forum.
Exactly one week ago was the last time this exact same question appeared:

http://www.linuxquestions.org/questi...hreadid=209332

And before:

http://www.linuxquestions.org/questi...hreadid=208402
http://www.linuxquestions.org/questi...hreadid=156394
http://www.linuxquestions.org/questi...hreadid=123496
http://www.linuxquestions.org/questi...hreadid=200968
http://www.linuxquestions.org/questi...hreadid=150110
http://www.linuxquestions.org/questi...hreadid=200968

unholy 07-31-2004 09:38 AM

My apologies Hko,

I have to admit that in this case, I did not search this website before posting (although I hasten to add that I usually do.).

Thank you for your comprehensive response.

Regards,

unholy

Hko 07-31-2004 10:52 AM

OK, no problem.


All times are GMT -5. The time now is 05:32 AM.