-2

In C there is popen() and system() to invoke external commands. Is there a more standardized way in C++ to do this using for instance STL and 'std::'?

neckutrek
  • 343
  • 2
  • 12

1 Answers1

3

No. it's the same as the C one.

#include <cstdlib> and then use std::system("whatever your command is").

shafeen
  • 2,275
  • 16
  • 21