Created
August 27, 2011 22:32
-
-
Save danking/1175951 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| danking@danking-desktop:~ 18:31 $ racket | |
| Welcome to Racket v5.1. | |
| > (require ffi/unsafe) | |
| > ((get-ffi-obj "execv" #f (_fun _path (_list i _string) -> _int)) "/bin/ls" '("/bin/ls")) | |
| -1 | |
| > "test" | |
| "test" | |
| > | |
| danking@danking-desktop:~ 18:32 $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment