[ 
https://issues.apache.org/jira/browse/MESOS-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Chen updated MESOS-1491:
--------------------------------

    Description: 
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.
    Environment:     (was: Currently subprocess only allows the command to be 
ran, and not any additional arguments. We should extend subprocess to take in a 
map of arguments to be executed with the command.)

> 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)

Reply via email to