1 | static void killProcess(java.lang.Process p) {
|
2 | if (p != null) p.destroy(); |
3 | } |
4 | |
5 | svoid killProcess(S pid) {
|
6 | L<Int> list = ll(parseFirstInt(pid)); |
7 | if (first(list) == 0) ret; |
8 | if (isMac()) fail("boohoo");
|
9 | else if (isWindows()) windows_killProcesses(list); |
10 | else unix_killProcesses(list); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014844 |
| Snippet name: | killProcess |
| Eternal ID of this version: | #1014844/4 |
| Text MD5: | 0aeb31e44e266386d8a6da3adf2c48c9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-14 07:01:50 |
| Source code size: | 304 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 517 / 593 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |