hi,everyone!
I have an Asp.net web project. Now i need to run a a java program to do something.
So i use the Process class to fork a new process like this:
Process process = new Process();
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.FileName = "cmd.exe";
process.StartInfo.Arguments = @"/c java -jar render.jar 1.txt";
process.Start();
This works.But i think it takes some extra time. I find somebody said it could be done using WebService.Could anybody show me how to do it?
Thanks very much!