|
-
August 19th, 1999, 05:37 AM
#1
starting other applications from a java app?!
Hi,
I've got a java-application and want to start another application from it. Like Shell, Command or something. e.g. how can
I run a batchfile from within my Java application? Anyone?
Thanks a lot!
-
August 22nd, 1999, 11:08 AM
#2
Re: starting other applications from a java app?!
I'm sorry if I have got the question wrong. But if u want to know...
'how to execute a program from within java'
u can do it using Runtime class. Call its exec method. And if u want to wait till the program exists, that method returns Process object which has method something like 'wait'.
- UnicMan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|