Process process = new Process();
//Path wherein Java is installed in your machine
process.StartInfo.FileName = "java.exe";
//.jar file to be executed
process.StartInfo.Arguments = @"-jar Sample.jar";
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
//Get the output from stream
//in case of no error ExitCode will be zero
//In case of error , get error description
string error = process.StandardError.ReadToEnd();
This is a simple function but to my surprise lot of ML engineers had asked me about the actual usage of this function and why do I use it wh...
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
Docker Error :In the default daemon configuration on Windows, the docker client must be run elevated to connecterror during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/auth: open //./pipe/docker_engine: The system cannot find the file ...
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...