1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

popen: get file descriptor for read side stream

This commit is contained in:
Steffen Vogel 2019-06-03 17:31:34 +02:00
parent 5cbf7a4a52
commit 3aff01814d

View file

@ -58,6 +58,11 @@ public:
return *(output.stream);
}
int fd()
{
return input.buffer->fd();
}
protected:
std::string command;
pid_t pid;