You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by kl...@apache.org on 2017/03/01 18:07:37 UTC

[2/4] mesos git commit: Added STDIN IO to 'ContainerLogger::ContainerIO' class.

Added STDIN IO to 'ContainerLogger::ContainerIO' class.

Added STDIN IO to 'ContainerLogger::ContainerIO' class.

Review: https://reviews.apache.org/r/57122/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3aa7e1b6
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3aa7e1b6
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3aa7e1b6

Branch: refs/heads/master
Commit: 3aa7e1b67074eb67794bf2e4c18ff24d2ecf37f3
Parents: cbb99ce
Author: Kevin Klues <kl...@gmail.com>
Authored: Wed Mar 1 09:55:18 2017 -0800
Committer: Kevin Klues <kl...@gmail.com>
Committed: Wed Mar 1 09:55:18 2017 -0800

----------------------------------------------------------------------
 include/mesos/slave/container_logger.hpp | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/3aa7e1b6/include/mesos/slave/container_logger.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/slave/container_logger.hpp b/include/mesos/slave/container_logger.hpp
index 2ede5f2..e0cf320 100644
--- a/include/mesos/slave/container_logger.hpp
+++ b/include/mesos/slave/container_logger.hpp
@@ -124,6 +124,12 @@ public:
     };
 
     /**
+     * How to redirect the stdin of the executable.
+     * See `process::Subprocess::IO`.
+     */
+    IO in = IO::FD(STDIN_FILENO);
+
+    /**
      * How to redirect the stdout of the executable.
      * See `process::Subprocess::IO`.
      */