JeffFlinn / boost-process

proposed portable process library for boost
27 stars 4 forks source link

Environment variables are now supported on Windows and Posix systems #5

Closed leutloff closed 6 years ago

leutloff commented 12 years ago

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.

leutloff commented 6 years ago

Superceded by official integration into boost.