List<String> res = new ArrayList();
try{
String[] ars = new String[] { "python", "C:\\comm\\loraPrt.py", "欢", "0", "0", "0"};
Process pr = Runtime.getRuntime().exec(ars);
pr.waitFor();
BufferedReader in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
String line="";
while ((line = in.readLine()) != null) {
System.out.println("ab"+line);
}
in.close();
pr.waitFor();
System.out.println("end");
}catch(IOException e){
e.printStackTrace();
}catch(InterruptedException e){
e.printStackTrace();
}
lora_interface(sys.argv[1], int(sys.argv[2]), int(sys.argv[3]), int(sys.argv[4]))