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

Paul King closed GROOVY-11901.
------------------------------

> Renovate process handling methods
> ---------------------------------
>
>                 Key: GROOVY-11901
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11901
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Minor
>             Fix For: 6.0.0-alpha-1
>
>
> Groovy's methods for process handling were created prior to the JDK having 
> ProcessBuilder. We shouldn't replicate what it provides but there is plenty 
> of scope to add a minimal Groovy-friendly facade in some cases.
> h3. Non-goals
>   - Don't reimplement ProcessBuilder features
>   - Don't break existing functionality
>   - Leverage ProcessBuilder's fluent API when needed rather than proliferate 
> extra extension methods
> The proposal is to add 6 new methods:
>   New {{execute}} with named params (one per receiver type):
>   - String.execute(Map options)
>   - String[].execute(Map options)
>   - List.execute(Map options)
>   New {{toProcessBuilder}} (one per receiver type):
>   - String.toProcessBuilder()
>   - String[].toProcessBuilder()
>   - List.toProcessBuilder()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to