I would like my program to read the standard output produced by another application. I am aware that I can use popen
to do that and use fread
to read that output.
Do you know whether is possible to use read
(and possibly open
)? I am working in LINUX with C/C++