2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-29 07:42:35 +00:00

cleanup & restructured the calls

This commit is contained in:
klemens-morgenstern
2016-05-30 20:31:36 +02:00
parent 4ff47d9bd9
commit 1481789946
27 changed files with 80 additions and 454 deletions

View File

@@ -12,8 +12,8 @@
#include <boost/test/included/unit_test.hpp>
#include <boost/process/error.hpp>
#include <boost/process/execute.hpp>
#include <boost/process/async.hpp>
#include <boost/process/child.hpp>
#include <boost/system/error_code.hpp>
#include <boost/asio.hpp>
@@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE(sync_wait)
using boost::unit_test::framework::master_test_suite;
std::error_code ec;
bp::child c = bp::execute(
bp::child c(
master_test_suite().argv[1],
"test", "--exit-code", "123",
ec
@@ -93,7 +93,7 @@ BOOST_AUTO_TEST_CASE(async_wait)
#endif
std::error_code ec;
bp::child c = bp::execute(
bp::child c(
master_test_suite().argv[1],
"test", "--exit-code", "123",
ec