/CHANGES/system-result-value
http://github.com/alimoeeny/arc · #! · 17 lines · 13 code · 4 blank · 0 comment · 0 complexity · 23892b18b1d6d27c2b25834d0f10b2f1 MD5 · raw file
- In mzscheme, 'system returns #t if the command it ran failed and #f otherwise.
- This hack makes that information available in arc; 'system returns t on success
- and nil on failure. In vanilla arc, 'system always returns nil.
- In vanilla arc:
- arc> (system "false")
- nil
- arc> (system "true")
- nil
- With this hack:
- arc> (system "false")
- nil
- arc> (system "true")
- t