Commit c631033b authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼

popen: get file descriptor for read side stream

parent 314045a5
......@@ -58,6 +58,11 @@ public:
return *(output.stream);
}
int fd()
{
return input.buffer->fd();
}
protected:
std::string command;
pid_t pid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment