Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: parser
-
Labels:None
-
Number of attachments :
Description
We should support `cmd` to be syntax sugar for this...
"cmd".execute()
which returns an instance of java.lang.Process. In addition if this expression is used within a String it should make a GString which extracts the output of the command in the middle of the string.
e.g.
println "blah `command` blah"
it should behave like
println "blah $
{`command`.text}blah"
Issue Links
- is depended upon by
-
GROOVY-762
implement syntax improvements
-
Not planned to be supported.
We can already execute commands easily with execute()