LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-12-2003, 01:14 AM   #1
brianvdc
LQ Newbie
 
Registered: Feb 2003
Location: Hillsboro, OR
Posts: 13

Rep: Reputation: 0
Capturing standard output from external program


I am writing a C++ program that needs to spawn an external executable (/usr/sbin/pppd). I then need to somehow attach to this executable and capture the standard output of the program. I can use any API to execute the binary (.i.e. system(), exec(), etc..)
 
Old 02-12-2003, 04:20 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Do you need only the exit code or something more?
 
  


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
capturing output of 'faad -i'.... bulliver Programming 3 09-18-2005 07:51 PM
capturing sound from external source ankscorek Linux - Hardware 7 12-08-2004 02:55 AM
how to redirecting the standard output in program phil123 Linux - General 3 02-23-2004 01:02 AM
script is capturing output.... wedgeworth Linux - Software 7 10-20-2003 06:11 PM
Capturing from TV card with mplayer, output is at half speed Electrode Linux - Software 2 09-28-2003 01:06 AM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
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