Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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