mercredi 27 janvier 2016

Execute a Windows command with a controled environment in C++

I currently trying to execute a command in C++11 under Windows, and I want the environment to be a char** that I manually set.

I saw the popen(), system() and CreateProcess() functions, but I cannot achieve that with theses functions. What I am looking for is an alternative to the UNIX exec* functions, with allows us to precise environment.

Aucun commentaire:

Enregistrer un commentaire