[
https://issues.apache.org/jira/browse/MESOS-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662224#comment-14662224
]
Marco Massenzio commented on MESOS-3035:
----------------------------------------
I've discarded https://reviews.apache.org/r/36424 as we prefer to instead
refactor {{process::Subprocess}} to encapsulate the desired behavior.
(I've also deleted the note about {{os::shell()}} which is now tracked in
MESOS-3142).
Currently working on refactoring {{Subprocess}}.
> As a Developer I would like a standard way to run a Subprocess in libprocess
> ----------------------------------------------------------------------------
>
> Key: MESOS-3035
> URL: https://issues.apache.org/jira/browse/MESOS-3035
> Project: Mesos
> Issue Type: Story
> Components: libprocess
> Reporter: Marco Massenzio
> Assignee: Marco Massenzio
>
> As part of MESOS-2830 and MESOS-2902 I have been researching the ability to
> run a {{Subprocess}} and capture the {{stdout / stderr}} along with the exit
> status code.
> {{process::subprocess()}} offers much of the functionality, but in a way that
> still requires a lot of handiwork on the developer's part; we would like to
> further abstract away the ability to just pass a string, an optional set of
> command-line arguments and then collect the output of the command (bonus:
> without blocking).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)