(run-command string) -> integer
Runs a command in the host environment's shell, and waits for a return. Unlike spawn-command, this will work on Windows. Caution should be exercised, this command will halt all processes in a virtual machine until it completes.
The integer returned is a "return code" from the shell.
>> (run-command "ls") ChangeLog crypt site LICENSE doc string Makefile examples stubs Makefile.cf footest.txt symbol TODO import-all-lib.ms test UMarchive.txt integer test.txt _darcs lib testrun.ms bin mosref todo.txt clue.txt mosvm working.txt core share :: 0
>> (run-command "foo") sh: line 1: foo: command not found :: 32512