Timeline for Wolframscript: Removing prepended message from Print in slave kernel
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 4, 2022 at 8:54 | vote | accept | shanedrum | ||
| Aug 4, 2022 at 8:51 | vote | accept | shanedrum | ||
| Aug 4, 2022 at 8:54 | |||||
| Aug 3, 2022 at 13:57 | answer | added | Alexey Popkov | timeline score: 1 | |
| Aug 3, 2022 at 13:51 | comment | added | user293787 | Perhaps $Post can be used? For example, set $Post=If[Head[#]===String,ToUpperCase[#],#]& and then type "Hello". This will not work for Print results, but perhaps one can adapt it. | |
| Aug 3, 2022 at 13:08 | history | edited | shanedrum | CC BY-SA 4.0 | added 1093 characters in body |
| Aug 3, 2022 at 12:22 | comment | added | shanedrum | Thanks for the link. Messing with the backend like this is a whole new territory for me. I tried implementing your solution through that link, but I was unsuccessful. I tried removing the ShowCellLabel and CellLabel options (and tried analyzing with Trace). I noticed, after running Unprotect[CellPrint] that CellPrint has other downvalues that are pretty obscure. If i remove all of them, then ParallelEvaluate[Print["Test"]] evaluates to nothing, theres no print statement, even with the custom definition as the only downvalue. | |
| Jul 27, 2022 at 11:56 | comment | added | Alexey Popkov | You can try to apply the approach described in this answer: "Customize how many of the same warning messages are printed from parallel kernels?" | |
| Jul 27, 2022 at 11:41 | history | asked | shanedrum | CC BY-SA 4.0 |