tbrowder i hope my solution works. created an empty file with the desired name. then i used that file name for the .save method 00:13
00:21 arkiuat left
tbrowder bummer, no go 00:29
01:31 annamalai left 01:57 sibl joined
disbot11 <simon_sibl> so I need to run a program like cat to be able to do this ? 02:01
02:11 hulk joined 02:12 kylese left
[Coke] no 02:15
that example is passing your string *into* cat 02:17
so instead, pass it into the thing you want.
02:53 annamalai joined 02:56 annamalai left 02:58 annamalai joined 03:15 hulk left, kylese joined 03:51 sibl left
disbot11 <simon_sibl> Oh yeah right sorry didn’t read well 04:05
<simon_sibl> I was just wondering since it’s possible to pass a opened file to :in and :out if it’s possible to pass a scalar instead of a file handler when calling run/shell directly 04:06
04:30 lichtkind__ joined 04:32 lichtkind_ left
Voldenet I've checked - :in(IO::Handle) just binds stdins, :in(True) just create IO::Pipe, :in("-") just uses stdin, :in(Anything else) does nothing 04:41
…am I reading it right? github.com/rakudo/rakudo/blob/c381...akumod#L47 04:42
05:43 kjp left 05:44 kjp joined 05:45 kjp left 05:46 kjp joined
disbot11 <simon_sibl> idk but in the doc: docs.raku.org/routine/run 06:06
<simon_sibl> they have this line: my $proc = run "ls", "-alt", :out($ls-alt-handle);
<simon_sibl> but its an opened file,
06:18 wayland76 joined
Voldenet this has more info on how to use :in docs.raku.org/type/Proc 06:37
tbh. what you describe could be possible and not difficult to implement - the line I've posted would simply need to write the string to the stdin 06:38
07:05 sibl joined 07:50 annamalai left 08:01 Aedil left 08:05 abraxxa joined 08:07 Aedil joined 08:56 Sgeo left
disbot11 <simon_sibl> yeah I guess I will just go for the print 09:07
<simon_sibl> I have a weird behavior with any module I try to install using Envy: termbin.com/xlcn 09:08
<simon_sibl> I am on Rakudo™ Star v2025.12.
<simon_sibl> I cant install any module
<simon_sibl> also I am not totally sure to understand the inst# and Envy# kind of path 09:09
09:13 dakkar joined
disbot11 <simon_sibl> I see the last commit was 4y ago, is there an alternative ? 09:20
10:20 sibl left 10:28 abraxxa left 11:32 abraxxa joined 11:50 annamalai joined 11:59 annamalai left 12:00 annamalai joined 13:09 annamalai left
tbrowder if i use "run" to execute some command that creates an output file with just a base name, where will it exist on the local file system? 13:29