scheme procedure quasiquoting

 2nd March 2024 at 11:12am
[14:23:30] <paotsaq> hello, everyone! I'm trying to make use of `shell` to run a command, and then parse the command. but just running the command is giving me a bit of trouble 
[14:24:17] <paotsaq> I can do `(capture COMMAND)`, but whenever I wrap a function around that, it just returns #!eof
[18:15:37] <Bunny351> paotsaq: "command" implicitly quasiquotes the argument, so if command is a variable, you need to unquote it:
[18:15:50] <Bunny351> (define (run-command cmd) (capture ,cmd))

In fact, this was written in the official docs... 🤦