LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-31-2004, 07:54 AM   #1
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
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
 
Old 07-31-2004, 08:43 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
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
 
Old 07-31-2004, 09:38 AM   #3
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Original Poster
Rep: Reputation: 30
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
 
Old 07-31-2004, 10:52 AM   #4
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
OK, no problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
Running executables in Red Had lyar1031 Linux - Newbie 2 07-14-2005 11:35 PM
Running an app in startup. fulat2k Mandriva 3 08-09-2004 05:28 PM
Running executables Dill Linux - Newbie 4 04-22-2004 01:32 PM
Problems running executables in RH 7.2 oudent Linux - Newbie 1 11-20-2001 10:14 AM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration