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 | 231c91be009a1fd2d4184c44e24669c4ea7887c5 (patch) | |
tree | 606e4c735b4aec1815007d3d34182ed63dd5c8cd /util/system/shellcommand.cpp | |
parent | c0a1bd5a47467ef8bf618172a331c90a2e70d71f (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 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 b1989b5c8c3..a11d0824b96 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(); } |