static L<DialogIO> talkToVMsRunningProgram(S progID) { new L<DialogIO> l; for (DialogIO io : talkToAllVMs()) pcall { bool close = true; try { S pID = io.ask("what is the main program id?"); if (sameSnippetID(pID, progID)) { close = false; l.add(io); } } finally { if (close) io.close(); } } ret l; }
Began life as a copy of #1010645
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: | #1010664 |
| Snippet name: | talkToVMsRunningProgram |
| Eternal ID of this version: | #1010664/3 |
| Text MD5: | 5c4b6feb0f4bc7869fac9532c30dd24c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-24 13:49:43 |
| Source code size: | 378 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 575 / 618 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |