X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FProcess.hpp;h=3efe96383ef36bae5956c18754a26ba3d7385447;hb=fd86376a8e7d3f1b09be3d018f772ef884937238;hp=985b661aac967819adf89a9ebcb42fb4fc3fc0f7;hpb=ca74cd8cdaf25b5ae778bef1dbabad21cea13b2d;p=blank.git diff --git a/src/app/Process.hpp b/src/app/Process.hpp index 985b661..3efe963 100644 --- a/src/app/Process.hpp +++ b/src/app/Process.hpp @@ -33,6 +33,9 @@ public: /// @return the number of bytes read std::size_t ReadErr(void *buffer, std::size_t max_len); + /// ask the process nicely to terminate + /// (except on win32) + void Terminate(); /// wait until the process exits and fetch its exit status int Join();