You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/06/18 20:58:25 UTC
[jira] [Created] (MESOS-1507) Support launching subprocesses with
flags
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)