Posted By

narkisr on 04/17/09


external groovy process gstring

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Running an external process from a GString

 / Published in: Groovy

An easy way to launch an external process (

  1. proc = "ls -al".execute()
  2. println(
  3. println(proc.returnCode())

Report this snippet  

You need to login to post a comment.