1 | static Var<OKOrError<S>> backtickInNewThread(fS cmd) { |
2 | final new Var<OKOrError<S>> var; |
3 | startThread("`" + cmd, r { |
4 | try { |
5 | var.set(OKOrError_ok(backtick(cmd))); |
6 | } catch e { |
7 | printStackTrace(e); |
8 | var.set(OKOrError_error(e)); |
9 | } |
10 | }); |
11 | ret var; |
12 | } |
Began life as a copy of #1001477
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: | #1014009 |
Snippet name: | backtickInNewThread |
Eternal ID of this version: | #1014009/4 |
Text MD5: | 4fd88158b81e5db76937da656d7c6d3a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-20 18:45:40 |
Source code size: | 285 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 503 / 504 |
Version history: | 3 change(s) |
Referenced in: | [show references] |