/boost-process

proposed portable process library for boost

Primary LanguageC++

  1. test cd libs/process/test export BOOST_ROOT=/root/workspace/boost_1_50_0 bjam toolset=gcc cxxflags=-std=c++11

  2. example cd libs/process/example mkdir build && cd build && cmake ..

windows compile:

http://sourceforge.net/projects/boost/files/boost-jam/ download bjam binary for windows

UnregisterWaitEx/RegisterWaitForSingleObject has not been declared... Undefined reference to WSAStartup@8/WSACleanup@0... g++ -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 $SRC -lboost_system -lboost_filesystem -lboost_iostreams -lwsock32

wait.cpp/terminate.cpp test will be failed under Windows with exception WaitForSingleObject()/TerminateProcess() without compiling child_process.cpp to test.exe g++ child_process.cpp -lboost_thread -lboost_system -lboost_chrono -o test.exe