IRC channel logs

2017-10-12.log

back to list of logs

<Apteryx>can I compose with-output-to-string and with-error-to-string to get a combined result?
<amz3`>what about trying?
<amz3`>pipes? system*? no
<amz3`>sneek: say later to civodul, kudos for fixing rekado issue with the verrry big machine :)
<amz3`>sneek tell later civodul kudos for fixing rekado issue with the verrry big machine :)
<sneek>later, amz3` says: civodul kudos for fixing rekado issue with the verrry big machine :)
<amz3`>botsnack sneek
<sneek>:)
<amz3`>:/
<amz3`>it's night where I am, see you tomorrow for new adventures
<Apteryx>amz3: I tried, answer is no. Both with system* or system
<Apteryx>yikes. Using with-output-to-string with (system* "diff" "-r" dir1 dir2) causes diff to return exit-status of 256 for some reason.
<Apteryx>If I remove the 'with-output-to-string' I get a normal exit-status of 0.
***logicmoo is now known as dmiles
<amz3>o/
<amz3>apteryx[m]: what you want is prolly https://www.gnu.org/software/guile/manual/html_node/Pipes.html#index-open_002dpipe
<Apteryx>My claim about with-output-to-string changing exit status was wrong. I think something else was at play.
<Apteryx>amz3: thanks, I'll look into that popen module!
<amz3`>Apteryx: how is it going? did you succeed?
<Apteryx>amz3`: I used an approach where I didn't need to chain commands, so I've punted on using pipes in Guile for now ;)
<Apteryx>Currently making something to capture both stdout and stderr, something which is not readily available in Guile in seems.
<Apteryx>*it seems
<Apteryx>capture into strings
<amz3`>Apteryx: there is a bug somewhere about that
<amz3`>Apteryx: I will look it up tomorrow
<amz3`>for you
<apteryx[m]>amz3`: thanks!
<guile-guest7>hello, I am trying to install Guile so that I can install Guix