diff options
| author | anikella <[email protected]> | 2022-02-10 16:50:52 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:52 +0300 |
| commit | aae523fee7a5dc0b76bc9ef82b5df543ac40984a (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/shellcommand.cpp | |
| parent | 231c91be009a1fd2d4184c44e24669c4ea7887c5 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
| -rw-r--r-- | util/system/shellcommand.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index a11d0824b96..b1989b5c8c3 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -366,14 +366,14 @@ public: return ExitCode; } - inline TProcessId GetPid() const { + inline TProcessId GetPid() const { #if defined(_win_) return GetProcessId(Pid); #else - return Pid; + return Pid; #endif - } - + } + inline TFileHandle& GetInputHandle() { return InputHandle; } @@ -1159,10 +1159,10 @@ TMaybe<int> TShellCommand::GetExitCode() const { return Impl->GetExitCode(); } -TProcessId TShellCommand::GetPid() const { - return Impl->GetPid(); -} - +TProcessId TShellCommand::GetPid() const { + return Impl->GetPid(); +} + TFileHandle& TShellCommand::GetInputHandle() { return Impl->GetInputHandle(); } |
