next release will allow this: https://twitter.com/anmonteiro90/status/885741059065528321
With this feature, should be much easier to persuade js developers
Iām so excited
š
Sweet!
Has someone got an example how to execute a shell command from lumo with capturing output?
I found this, but I wonder if there is a more convenient way in lumo: https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
exec, spawn: https://www.hacksparrow.com/difference-between-spawn-and-exec-of-node-js-child_process.html - I want exec
We do this in mach
@borkdude here's an example of how I use spawn (async and sync cases): https://gist.github.com/metametadata/0ddcf40d698a27851d29592011e89f06
@metametadata @dominicm thanks
@borkdude I also do something like that here https://github.com/eginez/calvin/blob/master/src/main/clojure/eginez/calvin/core.cljs#L178
Hopefully it helps