Adding &
's to the line where I execute grails seems to be breaking things on any computer I try (so far ubuntu 11.10 and cent 5.something)
Example
grails run-app #works beautiful
nohup grails run-app #works beautiful
grails run-app & # no working :(
I get results like this:
$ grails run-app &
[3] 16385
$
[3]+ Stopped grails run-app
What am I doing wrong?
Try
( nohup grails run-app --non-interactive 2>&1 > /dev/null & )
Thanks to Leighton S. for this.
Another way to fix execution of grails run-app
in the background is to add this option to you user bashrc/profile:
export GRAILS_OPTS="-Djline.terminal=false"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With