aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/winapi/process.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp
index 2614c0f..f404b33 100644
--- a/include/winapi/process.hpp
+++ b/include/winapi/process.hpp
@@ -48,7 +48,9 @@ public:
static Process create(const CommandLine&);
static Process create(const CommandLine&, IO);
- void wait();
+ void wait() const;
+
+ int get_exit_code() const;
private:
explicit Process(Handle&& handle) : m_handle{std::move(handle)} {}