私のコードはこちら
public void addImg(){
    try{
        //Attempt 1
        Runtime r = Runtime.getRuntime();
        Process p = r.exec("/usr/bin/python2.7 ../wc.py");
        p.waitFor();
        p.destroy();
        //Attempt 2
        p = r.exec("python2.7 ../wc.py");
        p.waitFor();
        p.destroy();
    }catch (Exception e){
        String cause = e.getMessage();
        System.out.print(cause);
    }
}
これを約 1 時間動作させようとしましたが、何も動作していないように見え、エラーも表示されません。私はこれをどのようにデバッグするかについてもっと心配していますが、このスクリプトが実行されていない理由を示す私のコードに問題はありますか?