Leaving external program running and closing my app.

Hello,I'm calling an external program from my java code and that program takes about 1hr to end its tasks so i want to en my calling program meanwhile.Is there a way to do this? thanks in advance!
[225 byte] By [isramireza] at [2007-11-27 3:54:11]
# 1

"so i want to en my calling program meanwhile."

I dont really understand what you need.

to close the java app and leave the another app running?

ans: Just close your java app, the new app has an independent process

or closing the external app?

ans: Use Process.destroy ();

MelGohana at 2007-7-12 8:58:17 > top of Java-index,Java Essentials,Java Programming...
# 2

- I dont really understand what you need.

Sorry I mean: I want to enD my calling program meanwhile

- to close the java app and leave the another app running?

My caller program is a console based program

The program to be called is started by .sh script in unix/.bat in windows

The caller program performs the call to the second and the second program is started but the problem is the caller program never ends, it just waits to the called program ends its tasks and then it ends. I dont want this.

I want the second program be started and the caller program can ends without taking care in which moment the second program ends, of course in automatic way, with no final user ending the caller program.

isramireza at 2007-7-12 8:58:17 > top of Java-index,Java Essentials,Java Programming...