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.
00:00 kjp left, MasterDuke left, jgaz left, kjp joined 00:03 jgaz joined 01:04 razetime joined 01:57 saint- left 02:01 guifa__ joined 02:04 guifa left 02:16 MasterDuke joined 04:10 razetime left 04:40 teatwo joined 04:42 teatwo left, teatwo joined 04:43 teatime left 04:49 razetime joined 08:38 razetime left 08:54 razetime joined 09:24 razetime left 16:43 tea3po joined 16:44 tea3po left, tea3po joined 16:46 teatwo left
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
19:00 lizmat_ joined 19:04 lizmat left 19:10 lizmat_ left 19:11 lizmat joined 19:47 human-blip joined 19:54 camelia left, human_blip left 21:01 tea3po left 21:02 tea3po joined 21:06 camelia joined