Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
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"
Attachments
Issue Links
- is depended upon by
-
GROOVY-762 implement syntax improvements
- Closed