Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] unable to launch groovy script in background

Kallin Nagelberg

2008-08-12

Replies: Find Java Web Hosting

Author LoginPost Reply
I've written a groovy script to help in launching some of my project's classes. It boils down to creating an AntBuilder, and using the java task to launch a class. I've found that I can't really launch this in the background. I try 'groovy myscript.groovy > out.txt &', and once the forked jvm launches the groovy process is stopped, '[1]+  Stopped '.

All I'm looking for is a way to launch a class from my groovy script, and be able to put it all in the background. Has anyone else tried this?
©2008 gg3721.com - Jax Systems, LLC, U.S.A.