aboutsummaryrefslogtreecommitdiff
path: root/tests/process
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:19:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:19:19 +0200
commit550b5257aba507bcce98f6832b8905769a14955d (patch)
tree82804b1d214e94ceb8736f215dd20082614cbc1c /tests/process
parent0703f7a1acc9bf9512fdcad43a18a17981c8ca9e (diff)
Add process_run()/process_start() higher-level API on top of class process
Diffstat (limited to 'tests/process')
-rw-r--r--tests/process/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx
index 1fb685c..fc9ffe9 100644
--- a/tests/process/driver.cxx
+++ b/tests/process/driver.cxx
@@ -143,7 +143,7 @@ exec (const path& p,
}
catch (const process_error& e)
{
- if (e.child ())
+ if (e.child)
exit (1);
//cerr << args[0] << ": " << e << endl;