aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/process.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/winapi/process.hpp')
-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)} {}