execShell("input text "+bar);
public void execShell(String cmd){
try{
//\u6743\u9650\u8bbe\u7f6e
Process p = Runtime.getRuntime().exec(cmd);
}
catch(Throwable t)
{
t.printStackTrace();
}
}