Is their any C popen() equivalent in C++ ?
See Question&Answers more detail:osYou can use the "not yet official" boost.process if you want an object-oriented approach for managing the subprocess.
Or you can just use popen
itself, if you don't mind the C-ness of it all.