Question

Is there a way in Scheme Revision 5 to call out to an external program? For example:

(system "ls")

If not, is there any "official" way to do this, such as specified in a SRFI or a later revision of the Scheme spec (R6RS, etc)?

Was it helpful?

Solution

No.

(It's generally a bad idea to try to write code with "Standard Scheme", and system is one of those things that is unlikely to become standard enough to be usable outside of a particular implementation or via some compatibility library.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top