I want to execute a executable program on Windows which will take arguments and return back some parameters.
I know I need to
Runtime r = Runtime.getRuntime();
Process p = r.exec("myprogram.exe");
Should I parse all three of these?
pErrorStream = p.getErrorStream(); //for errors?
pInputStream = p.getInputStream(); //for input and program output?
pOutputStream = p.getOutputStream(); // for additonal input ?
So just to clarify for me if I want to send arguments send them to inputstream and look there too for the program you are excuting output's too? Then OutputStream is only used to send additional input right?
This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about basic arrays, how to declare them, and how to use them.
Introduction and definition:
Declare an array and cover the syntax of declaring them:
Initialize every index in the created array:
Example/Features of a basic arr…