public void kill(String pid){
  send(String.format(ImageServerDialogProperties.getString("cmd.kill"),pid));
  try {
    Thread.sleep(1000);
  }
 catch (  InterruptedException e) {
  }
}

public void kill ( String pid ) { send ( String . format ( ImageServerDialogProperties . getString ( "cmd.kill" ) , pid ) ) ; try { Thread . sleep ( 1000 ) ; } catch ( InterruptedException e ) { } }
kill process by pid .
