Setting the environment variables of the executed process is now possible. Supported are both Windows and POSIX systems.
I have added a small application libs/process/test/execute_show_env.cpp that is setting the environment variables and then launching a specific application. The launched app is showing all the environment variables of the process using native code. Both programs are working on Linux (Ubuntu 12.10) and Windows 7, 32 bit. The application execute_show_env performs the same operation in native code and using the boost::process library.
I have housed up my separated branch named environment. So I request now a pull from my master branch. I hope that you can use the changes for further work on boost::process.
Setting the environment variables of the executed process is now possible. Supported are both Windows and POSIX systems.
I have added a small application libs/process/test/execute_show_env.cpp that is setting the environment variables and then launching a specific application. The launched app is showing all the environment variables of the process using native code. Both programs are working on Linux (Ubuntu 12.10) and Windows 7, 32 bit. The application execute_show_env performs the same operation in native code and using the boost::process library.
I have housed up my separated branch named environment. So I request now a pull from my master branch. I hope that you can use the changes for further work on boost::process.