From fa0a978ae129f0f04b9d336e9a3d71489fe519e8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 11 Oct 2008 22:32:32 +0200 Subject: Benutzte den FdManager f?r Ausgaben von Programmen im Posix-Backend --- src/Common/Backends/SystemBackendPosix.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Common/Backends/SystemBackendPosix.h') diff --git a/src/Common/Backends/SystemBackendPosix.h b/src/Common/Backends/SystemBackendPosix.h index b7f364a..59dd2d8 100644 --- a/src/Common/Backends/SystemBackendPosix.h +++ b/src/Common/Backends/SystemBackendPosix.h @@ -38,12 +38,17 @@ class SystemBackendPosix : public SystemBackend { private: static SystemBackendPosix backend; static std::map > processes; - static std::map, int> > processesWithOutput; + + static std::map > processesWithOutput; + static std::map processesWOHandles; + static std::map processesWOOutput; static void setChildHandler(); static void childHandler(int); + static void outputHandler(short events, pid_t pid); + static std::pair makeArgs(const std::string &filename, const std::vector &argv, const std::vector &env); static void destroyArgs(std::pair args); -- cgit v1.2.3