2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-26 18:52:25 +00:00

small fix and updated examples

This commit is contained in:
klemens-morgenstern
2016-06-04 21:10:13 +02:00
parent d5acf8713d
commit b5180b869b
20 changed files with 86 additions and 183 deletions

View File

@@ -11,12 +11,11 @@
#include <boost/filesystem.hpp>
using namespace boost::process;
using namespace boost::process::initializers;
int main()
{
//[work_dir
execute(
system(
"test.exe",
start_dir="../foo"
);
@@ -24,7 +23,7 @@ int main()
//[work_dir_abs
boost::filesystem::path exe = "test.exe";
execute(
system(
boost::filesystem::absolute(exe),
start_dir="../foo"
);