grab system() call output

  • Thread starter 131.96.106.128 [johnny]
  • Start date
1

131.96.106.128 [johnny]

Hi all,

anyone knows how to put the output of a system() or exec() call into buffer without using a temp file?

Thanks

==================================
Poster's IP address: 131.96.106.128
Posted via http://nodevice.com
Linux Programmer's Site
 
V

Victor Bazarov

anyone knows how to put the output of a system() or exec() call into
buffer without using a temp file?

There is no way in the Standard C++. Use pipes if your system
supports them. Ask in a newsgroup for your OS.

Victor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top