public void GetJar() { string output; string errorout; string path = "C:\\PATTU"; Process process = new Process(); process.EnableRaisingEvents = false; process.StartInfo.FileName = "java.exe"; process.StartInfo.Arguments = "-jar " + '"' + path + "\\Addition.jar"; process.Start(); output = process.StandardOutput.ReadToEnd(); errorout = process.StandardError.ReadToEnd(); richTextBox1.Text = output; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)