aboutsummaryrefslogtreecommitdiff
path: root/libbutl/process.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-10 10:50:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-10 10:50:54 +0200
commitb6706518054efa9440c8b5b43412e95ad0e73f89 (patch)
treea2c97233ca797d35a2d078ad452989e9d702042e /libbutl/process.hxx
parentb0bf46a7942611729dd8d9d8b8d78cedf26c4685 (diff)
Add process::current_handle()
Diffstat (limited to 'libbutl/process.hxx')
-rw-r--r--libbutl/process.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/process.hxx b/libbutl/process.hxx
index 5a6837f..bbb7c89 100644
--- a/libbutl/process.hxx
+++ b/libbutl/process.hxx
@@ -629,6 +629,9 @@ namespace butl
public:
handle_type handle;
+ static handle_type
+ current_handle ();
+
// Absence means that the exit information is not (yet) known. This can be
// because you haven't called wait() yet or because wait() failed.
//