Run app from within your code
Hi,
1)How can I run some application from within my code ?
Any examples ?
2) How is it related to thread topic ? Will it be a "normal"
light-weight thread or is it going to be a "proper" heavy
thread ?
Cheers,
Adrian
Hi,
1)How can I run some application from within my code ?
Any examples ?
2) How is it related to thread topic ? Will it be a "normal"
light-weight thread or is it going to be a "proper" heavy
thread ?
Cheers,
Adrian
USE GOOGLE
> Hi,
Use google
>
> 1)How can I run some application from within my code
Use google
> Any examples ?
Use google
> 2) How is it related to thread topic ? Will it be a
Use google
> "normal"
Use google
> light-weight thread or is it going to be a "proper"
Use google
> heavy thread ?
Use google
If you want to launch a process (is that what you mean by a "heavy thread"?), see Runtime.exec or ProcessBuilder.start
> Hi,
>
> 1)How can I run some application from within my code
> ?
> Any examples ?
Runtime.exec
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
> 2) How is it related to thread topic ? Will it be a
> "normal"
> light-weight thread or is it going to be a "proper"
> heavy
> thread ?
The external process is a completely separate process. It's not a lightweight thread. In addition, the exec method starts a new Java thread.
>
>
> Cheers,
>
> Adrian
> I googled "hi" (I'm feeling lucky) and thanks to
> hi5.com, I'm hip to Daddy Yankee.
Google UK took me hostelling. Hostelling International, you see
There's something very English about that result