File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run .exe using multithreading

 
C.B. Bakshi
Greenhorn
Posts: 3
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic