Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run .exe using multithreading

 
C.B. Bakshi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i open and run other files(like exe files) in my simple multitheading program
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic