| 3 | import java.io.File; |
| 4 | |
| 5 | public class CommandExecution { |
| 6 | |
| 7 | static { |
| 8 | System.setProperty("java.library.path","D:\\library\\"); |
| 9 | System.loadLibrary("cmd"); |
| 10 | // System.loadLibrary("cmd"); |
| 11 | } |
| 12 | public static native String exec(String cmd); |
| 13 | |
| 14 | public static void main(String[] args) { |
| 15 | exec("calc"); |
| 16 | // System.out.println((File.separatorChar)); |
| 17 | } |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected