diff options
author | vlad-savinov <[email protected]> | 2022-02-10 16:51:46 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:46 +0300 |
commit | e788f54875144a0c5a0d4df2e4060d808cb719df (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/shellcommand.h | |
parent | aa109021468e8848c0c4f46894b8cc74d390d4c3 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.h')
-rw-r--r-- | util/system/shellcommand.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/util/system/shellcommand.h b/util/system/shellcommand.h index 093610c1d27..8730627fe5b 100644 --- a/util/system/shellcommand.h +++ b/util/system/shellcommand.h @@ -55,7 +55,7 @@ public: , OutputStream(nullptr) , ErrorStream(nullptr) , Nice(0) - , FuncAfterFork(std::function<void()>()) + , FuncAfterFork(std::function<void()>()) { } @@ -237,17 +237,17 @@ public: } /** - * @brief specifies pure function to be called in the child process after fork, before calling execve - * @note currently ignored on windows - * @param function function to be called after fork - * @return self - */ - inline TShellCommandOptions& SetFuncAfterFork(const std::function<void()>& function) { - FuncAfterFork = function; - return *this; - } - - /** + * @brief specifies pure function to be called in the child process after fork, before calling execve + * @note currently ignored on windows + * @param function function to be called after fork + * @return self + */ + inline TShellCommandOptions& SetFuncAfterFork(const std::function<void()>& function) { + FuncAfterFork = function; + return *this; + } + + /** * @brief create a pipe for child input * Write end of the pipe will be accessible via TShellCommand::GetInputHandle * @@ -322,7 +322,7 @@ public: int Nice = 0; static const size_t DefaultSyncPollDelay = 1000; // ms - std::function<void()> FuncAfterFork = {}; + std::function<void()> FuncAfterFork = {}; }; /** |