|
-
Aug 11th, 2003, 08:20 AM
#1
Thread Starter
Hyperactive Member
Execute Command Line?
Hey,
I need to call a java Programm from within my C# code.
So what I usually do in a Command Line (java - jar myApp.jar) now needs to be executed from an Command line.
And then I need my C# code to wait till the java app is stopped.
Does anyone know how to do this?
Thx,
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
Aug 14th, 2003, 11:24 AM
#2
Addicted Member
Hi,
Try this:
Code:
System.Diagnostics.Process.Start("jar myApp.jar");
This worked for me? I don't know much about it somebody helped me out with it.
Hope it helps!
DJ
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
|