Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1507

Support launching subprocesses with flags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Q2 Sprint 4

    Description

      The current interface of the Subprocess only supports passing environment variables. It will be cool if we can support passing flags too:

      Try<Subprocess> subprocess(
          const std::string& command,
          const Subprocess::IO& in, 
          const Subprocess::IO& out,
          const Subprocess::IO& err,
          const Option<flags::FlagsBase>& flags = None(),
          const Option<std::map<std::string, std::string> >& environment = None(),
          const Option<lambda::function<int()> >& setup = None());
      

      Attachments

        Activity

          People

            jieyu Jie Yu
            jieyu Jie Yu
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: