mirror of
https://github.com/corda/corda.git
synced 2025-01-01 10:46:46 +00:00
Runtime should implement IOException
This commit is contained in:
parent
4d3fd38d54
commit
bd6f2913c5
@ -1,5 +1,6 @@
|
|||||||
package java.lang;
|
package java.lang;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
@ -31,7 +32,7 @@ public class Runtime {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Process exec(String command) {
|
public Process exec(String command) throws IOException {
|
||||||
int[] process = new int[4];
|
int[] process = new int[4];
|
||||||
exec(command, process);
|
exec(command, process);
|
||||||
return new MyProcess(process[0], process[1], process[2], process[3]);
|
return new MyProcess(process[0], process[1], process[2], process[3]);
|
||||||
|
Loading…
Reference in New Issue
Block a user