Launchers in mirai 0.9.1 #98
Closed
shikokuchuo
started this conversation in
Ideas
Replies: 2 comments 7 replies
-
Awesome! So glad to see |
Beta Was this translation helpful? Give feedback.
7 replies
-
I realise the problem with using env vars is more fundamental to R, as I was implementing passing the libpath to dispatcher. Luckily for that purpose there is a well-documented base function, but just relying on env vars would not have been robust. And probably wouldn’t work on Windows (yes, remember that?!) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mirai 0.9.1 (newly on CRAN!) implements
launch_local()
andlaunch_remote()
.They could be used directly by
crew
if it passes the required environment variables on the command line instead of via the wrappercrew_worker()
, i.e. in the manner of:The shell command can be generated by:
Just a thought.
Given the oddities I found with
processx
when debugging TLS on MacOS, I am in favour of stripping away the additional dependencies if it gives us additional robustness.An alternative you may consider is using:
ps::ps_mark_tree()
and related functions to keep track of child processes. I wonder if the functionality there will be sufficient.Beta Was this translation helpful? Give feedback.
All reactions