Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1845#issuecomment-52734362
  
    @sryza yeah I spoke with @mateiz about this one a bit offline. Basically in 
this case there is now way to correctly parse these expressions in both bash 
and windows that is not extremely complex -- much more complex than the 
original logic we had to deal with of just trapping some command line 
arguments. So in this more limited case it was deemed acceptable to launch a 
separate JVM first.
    
    I like the idea of containing this more (cc @vanzin) - but I don't think 
this is possible since bash can only receive the output of the command as a 
string. Bash can natively support the notion of sending a list of arguments to 
a subprocess, but AFAIK it can't read a list back.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to