Jie Yu created MESOS-1507:
-----------------------------
Summary: Support launching subprocesses with flags
Key: MESOS-1507
URL: https://issues.apache.org/jira/browse/MESOS-1507
Project: Mesos
Issue Type: Improvement
Reporter: Jie Yu
Assignee: Jie Yu
The current interface of the Subprocess only supports passing environment
variables. It will be cool if we can support passing flags too:
{noformat}
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());
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)