This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Run .exe using multithreading" Watch "Run .exe using multithreading" New topic
Author

Run .exe using multithreading

C.B. Bakshi
Greenhorn

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.
 
Have you checked out Aspose?
 
subject: Run .exe using multithreading
 
It's not a secret anymore!