This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
nhail How can I use run to "fire and forget" a process? I don't want to capture any output or anything, I just need it to start the process. Also note the process is something that stays running in the background, normally when launching it in CLI I would use & disown 17:05
antononcube @nhail I think you are looking for the functionalities provided by: - shell : docs.raku.org/routine/shell - run : docs.raku.org/routine/run - Proc : docs.raku.org/type/Proc 17:09
nhail I've been reading run, let me look in the others real quick 17:10
thanks
antononcube @nhail Sorry, I misread this fragment : "Also note the process is something that stays running in the background [...]" -- you should use Proc. 17:11
nhail Okay, thanks
For context, this is starting mpv with the IPC server open 17:12
antononcube @nhail Sorry -- I have more say. 🙂 I use(d) Proc to do "fire and forget" in this package : raku.land/zef:antononcube/Proc::ZMQed
Ok, then pointing out "Proc::ZMQed" is relevant. 17:13
See the lines with Proc::Async.new in: github.com/antononcube/Raku-Proc-Z...on.rakumod 17:15
nhail Solved. 17:21
Proc::Async.new(<mpv --idle --input-ipc-server=/tmp/mpvsocket>).start;
Thanks for the links 17:22