1

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.

Vladimir
  • 169
  • 1
  • 1
  • 5

1 Answers1

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
djangofan
  • 4,172
  • 10
  • 45
  • 59