Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Scheme equivalent to SBCL's run-program?

I can run (run-program "/usr/ls" '()) in SBCL. Is there an equivalent in any Scheme implementation?

like image 907
Isaiah Avatar asked Feb 06 '11 18:02

Isaiah


3 Answers

GNU Guile also supports system and other related functions (such as OS-level fork and exec).

like image 136
Greg Hewgill Avatar answered Nov 12 '22 00:11

Greg Hewgill


PLT/Racket supports system, in different versions.

like image 36
Martin v. Löwis Avatar answered Nov 12 '22 00:11

Martin v. Löwis


Chicken has system as well. In Gauche it's called sys-system.

like image 2
Hans Nowak Avatar answered Nov 12 '22 00:11

Hans Nowak