diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 23:59:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-19 00:00:12 +0300 |
commit | 00999694f9ce98ad7ef54b66c9e82186edcf55a6 (patch) | |
tree | 8108af41c8091417d05db62b7ae9242c68b9c703 /include/winapi | |
parent | stream.hpp -> process_io.hpp, move IO there (diff) | |
download | winapi-common-00999694f9ce98ad7ef54b66c9e82186edcf55a6.tar.gz winapi-common-00999694f9ce98ad7ef54b66c9e82186edcf55a6.zip |
Process: add runas()
Diffstat (limited to 'include/winapi')
-rw-r--r-- | include/winapi/process.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp index d52ad0a..05411cd 100644 --- a/include/winapi/process.hpp +++ b/include/winapi/process.hpp @@ -24,6 +24,8 @@ public: static Process create(const CommandLine&); static Process create(const CommandLine&, process::IO); + static Process runas(const CommandLine&); + void wait() const; int get_exit_code() const; |