IRC channel logs

2026-03-17.log

back to list of logs

<civodul>mwette: hi! looks like something went wrong with the manual of nyacc: https://doc.guix.gnu.org/nyacc/3.02.0/en/html_node/
<civodul>(or at least in Guix)
<civodul>2.x was fine
<mwette>fixed in v3.03
<mwette>I've also added .guix -> etc/nyacc-package.scm
<lechner>Hi, how may I detect whether this call failed, for example due to the executable not being found: (open-pipe* OPEN_READ "nonsense")
<rlb>lechner: I think it should produce a system-error with a suitable errno as per https://www.gnu.org/software/guile/manual/html_node/Error-Reporting.html --- can try it to double check.
<lechner>rlb / in my REPL, it only returns one value, namely a pipe
<lechner>together with this message to stderr "In execvp of nonsense: No such file or directory"
<rlb>...not sure then, that's just what I'd have typically expected. It looks like maybe that's expected from posix_spawn (i.e. no immediate error), and open-pipe* doesn't return the pid (the underlying open-process does), so you can't check on it yourself either?
<rlb>See popen.scm for the implementation (and posix.c) if you're curious.
<rlb>It does give the pid to the "pipe-guardian".
<dsmith>That meteor/asteroid thing that came down over Ohio? About 10-15 miles from my house. (and sneek)
<dsmith>(I missed it, I was away driving to work)