Re: Shell commands with output to string

2022-03-09 Thread Josselin Poiret
which cases would my code not do the > right > thing? (reference: > https://notabug.org/ZelphirKaltstahl/guile-examples/src/2dead9f7bb9b40fc26eb490a93e1dc7abca7252c/shell/example-03-using-popen-get-out-and-error.scm): Looking briefly at your code, I don't think that bug could be affecting you. You can have an issue if you're trying to redirect a standard fd to another standard fd, but if you're using fresh ports it should be ok. Best, -- Josselin Poiret

Re: Shell commands with output to string

2022-02-23 Thread Josselin Poiret
ndler input) (close-port input) (close-pipe dummy-pipe)) --8<---cut here---end--->8--- [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52835 [2] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/installer/utils.scm?id=c0bc08d82c73e464a419f213d5ae5545bc67e2bf#n87 Best, -- Josselin Poiret