I wrote a couple of libraries that address this. As was mentioned, there's Rash, which lets you swap back and forth between normal racket and a more bash-like syntax for running pipelines. There's also the shell-pipeline package, which provides the runtime functions behind rash and lets you run pipelines with a more normal lispy syntax.
They aren't stable, but the shell-pipeline package is... closer to being stable. As an aside, for all those who asked if I was using rash as my daily-driver interactive shell at Racketcon: while the answer was unfortunately "no" at Racketcon, it is now "yes" because I've added some completion. But it only works with the git version of the readline package. That said it's still missing several important features, but I would love it if some Racketeers would try it and give me feedback on it (what do you like, dislike, how would you improve the API before I say it's stable and have to live with it forever, etc, both at the rash and shell-pipeline layers). On Tue, Oct 24, 2017 at 08:33:07PM +0200, 'Paulo Matos' via Racket Users wrote:
Hi, In Python I see myself using plumbum (https://plumbum.readthedocs.io/en/latest/) on a regular basis to do shell related stuff instead of messing with subprocesses. Is there anything remotely like this for racket? Kind regards, -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.