[
https://issues.apache.org/jira/browse/MESOS-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033188#comment-14033188
]
Benjamin Hindman commented on MESOS-1491:
-----------------------------------------
Providing an overload of subprocess that takes an argv SGTM, but FYI [~jieyu]
is working on some abstractions in Mesos for launching operations that handle
passing flags for you (rather than even having to specify arguments, you can
just set the flags!). This is likely what we'll want to use ultimately for all
of our utilities, things like mesos-usage, mesos-health-checker, etc.
> Improve subprocess executing command with arguments
> -------------------------------------------------------
>
> Key: MESOS-1491
> URL: https://issues.apache.org/jira/browse/MESOS-1491
> Project: Mesos
> Issue Type: Improvement
> Reporter: Timothy Chen
> Assignee: Timothy Chen
>
> The current way for subprocess to execute commands with arguments is to build
> up the whole command string with arguments. However, whoever does this needs
> to be careful about escaping quotes or semicolons, etc.
> The better way is to use execve and pass in a list of arguments instead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)