I'm running a java command:

java weblogic.Admin -adminurl t3://URL:POST -username username -password password START $SERVER &

on an Aix machine.

The problem is that the shell still halts until the command is completed. What should I do to make it return back to the terminal immediately.

link|improve this question

0% accept rate
could you post the whole command line? – Mat May 15 '11 at 18:48
What happens if you press ctrl-z then? – Eduardo Ivanec May 15 '11 at 18:50
feedback

1 Answer

You need to add "nohup" to the beginning. SO, it would be something like:

nohup java weblogic.Admin -adminurl t3://URL:POST -username username 
-password password START $SERVER & echo $! > pid.txt
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.