comparison src/Test/SystemTest.java @ 1:830afc6475b0 draft

add sime files
author one
date Tue, 22 May 2012 02:45:56 +0900
parents d86770305c8b
children
comparison
equal deleted inserted replaced
0:d86770305c8b 1:830afc6475b0
12 static BufferedReader ebr = null; 12 static BufferedReader ebr = null;
13 static BufferedReader br = null; 13 static BufferedReader br = null;
14 14
15 public static void main(String[] argv) { 15 public static void main(String[] argv) {
16 16
17 String[] cmd = {"/usr/local/bin/konoha","/Users/aotokage/testProgram/konoha/math.k"}; 17 String[] cmd = {"/usr/local/bin/konoha","/Users/aotokage/hg/nobuyasu/konoha/http/postRequest.k"};
18 Runtime run = Runtime.getRuntime(); 18 Runtime run = Runtime.getRuntime();
19 try { 19 try {
20 Process p = run.exec(cmd); 20 Process p = run.exec(cmd);
21 in = p.getInputStream(); 21 in = p.getInputStream();
22 ein = p.getErrorStream(); 22 ein = p.getErrorStream();