popen equivalent in c++

You 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.

Leave a Comment