SFML community forums

General => Feature requests => Topic started by: kolofsson on March 17, 2008, 07:40:09 pm

Title: Platform independent executable calling
Post by: kolofsson on March 17, 2008, 07:40:09 pm
I would like to have an easy way to call external executables. Of course with a possibility to pass arguments and receive standard output.

something like:
string output = sf::exec("program.exe","args");

But you know, maybe i just didnt google enough to see its included in the system library.
Title: Platform independent executable calling
Post by: TTK-Bandit on March 17, 2008, 10:13:36 pm
well with the std library you wont get the output, but you can call system("yourcommand.exe");
Title: Platform independent executable calling
Post by: Laurent on March 18, 2008, 02:09:24 am
Such things are not really going to be part of SFML, sorry.

But I'm sure you can find small portable libraries to do it ;)