forked from I2P_Developers/i2p.i2p
another installer build fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package net.i2p.installer;
|
package net.i2p.installer;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>This class can be used by the installer to execute shell commands.</p>
|
* <p>This class can be used by the installer to execute shell commands.</p>
|
||||||
@@ -20,7 +21,8 @@ public class Exec {
|
|||||||
// http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html
|
// http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html
|
||||||
try { proc.exitValue(); } catch (Throwable t) { }
|
try { proc.exitValue(); } catch (Throwable t) { }
|
||||||
Runtime.getRuntime().halt(0);
|
Runtime.getRuntime().halt(0);
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user