chibi-scheme/lib/scheme/process-context.sld
okuoku e46bd03239 (chibi win32 process-win32): New library
Implement Win32 specific process library. Currently the library only
provides `exit` procedure.
2017-12-13 19:04:04 +09:00

9 lines
401 B
Scheme

(define-library (scheme process-context)
(import (chibi) (srfi 98))
(cond-expand (windows (import (only (chibi win32 process-win32) exit)))
(else (import (only (chibi process) exit))))
(export get-environment-variable get-environment-variables
command-line exit emergency-exit)
;; TODO: Make exit unwind and finalize properly.
(begin (define emergency-exit exit)))