nixd
|
#include <StreamProc.h>
Public Member Functions | |
StreamProc (const std::function< int()> &Action) | |
Launch a streamed process with Action . | |
llvm::raw_fd_ostream & | stream () const |
util::PipedProc & | proc () const |
std::unique_ptr< lspserver::InboundPort > | mkIn () const |
std::unique_ptr< lspserver::OutboundPort > | mkOut () const |
Definition at line 10 of file StreamProc.h.
StreamProc::StreamProc | ( | const std::function< int()> & | Action | ) |
Launch a streamed process with Action
.
The value returned by Action
will be interpreted as process's exit value.
Definition at line 17 of file StreamProc.cpp.
References nixd::forkPiped().
|
nodiscard |
Definition at line 8 of file StreamProc.cpp.
|
nodiscard |
Definition at line 13 of file StreamProc.cpp.
|
inlinenodiscard |
Definition at line 27 of file StreamProc.h.
Referenced by nixd::AttrSetClientProc::client().
|
inlinenodiscard |
Definition at line 22 of file StreamProc.h.