File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Run .exe using multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Run .exe using multithreading" Watch "Run .exe using multithreading" New topic

Run .exe using multithreading

C.B. Bakshi

Joined: Oct 04, 2003
Posts: 3
How can i open and run other files(like exe files) in my simple multitheading program
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
Welcome to JavaRanch!
Executing other files is a library function which is independant of threading. You can execute files in a multi-threaded context, but the behavior is no different than executing them in a single-threaded context. Check out the exec() methods in the java.lang.Runtime docs.
Moving this thread to JIG Beginner.
I agree. Here's the link:
subject: Run .exe using multithreading
It's not a secret anymore!