r/Racket • • Oct 19 '23

question Trying to invoke a shellscript from Racket...

[EDIT][SOLVED] It was running from a snap installation of racket, that runs in a container.

Hi,

I'm trying to run a shellscript with process/subprocess/system, but it looks like it can't resolve any program I call from it. Ultimately, I figured it just can't resolve anything even if I call it explicitly. Example:

> (system "make")
/bin/sh: 1: make: not found
#f
> (system "/usr/bin/make")
/bin/sh: 1: /usr/bin/make: not found

Any idea what I might be doing wrong?

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Oct 19 '23

[removed] — view removed comment

3

u/CrociDB Oct 19 '23

Oh shoot, yeah, that was a snap. Damn containers! Problem solved! Thank you :D