my dog learned polymorphism*
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 Spring in Action this week in the Spring 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run .exe using multithreading