-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
  • 353
  • 2
  • 14

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,431
  • 18
  • 23