Examples
var p = new Process("ls", ["-l"]); // run ls -l in current directory trace("exitcode: " + p.exitCode()); trace("process id: " + p.getPid()); // read everything from stderr var error = p.stderr.readAll().toString(); trace("stderr:\n" + error); // read everything from stdout var stdout = p.stdout.readAll().toString(); trace("stdout:\n" + stdout); p.close(); // close the process I/O
version #8042, modified 2010-02-05 21:59:17 by hhoelzer
0 comment