title: invoke telnet as a shell command from Groovy
body: <p>How can I get groovy, in this case groovysh, to invoke the telnet client so that replies from the server are displayed? </p>
  
  <pre><code>thufir@mordor:~$ 
  thufir@mordor:~$ groovysh
  Groovy Shell (1.8.6, JVM: 1.8.0_72)
  Type 'help' or '\h' for help.
  -------------------------------------------------------------------------------
  groovy:000&gt; 'telnet rainmaker.wunderground.com 3000'.execute()
  ===&gt; java.lang.UNIXProcess@8458f04
  groovy:000&gt; 
  groovy:000&gt; exit
  thufir@mordor:~$ 
  </code></pre>
  
  <p>I'm aware of numerous telnet libraries for Java, but in this case, want to to execute telnet as a shell command.</p>