[
https://issues.apache.org/jira/browse/MESOS-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959899#comment-15959899
]
Andrew Schwartzmeyer commented on MESOS-6838:
---------------------------------------------
To start with: if the continue stays unchanged, we need to add an assert that
the sent `path` is equivalent to the sent `argv[0]` as the latter is what gets
used as the former (possibly unbeknownst to the developer).
> Reconsider the semantics of `subprocess` on Windows
> ---------------------------------------------------
>
> Key: MESOS-6838
> URL: https://issues.apache.org/jira/browse/MESOS-6838
> Project: Mesos
> Issue Type: Improvement
> Components: libprocess
> Reporter: Alex Clemmer
> Assignee: Andrew Schwartzmeyer
> Labels: microsoft
>
> Right now, throughout the codebase, we are passing Windows shell commands
> into `subprocess`'s `argv` parameter, and ignoreing the `path` parameter. For
> example, we might do something like:
> {code}
> subprocess("", "cmd /c mesos-containerizer.exe", ...)
> {code}
> The `cmd /c` here is required. This obviously does not have high cohesion
> with the Unix usage of this, so we should consider ways to clean this up.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)