touch

Monday, March 24, 2014

usi

あえてC++を避ける

public class Main {
 public static void main(String[] args) {
  final ProcessBuilder pb = new ProcessBuilder(
   "c:\\python34\\pythonw.exe", "-u", "usi.py");
  pb.inheritIO();
  try {
   pb.start().waitFor();
  } catch (IOException | InterruptedException e) {
   e.printStackTrace();
  }
 }
}