Home /Examples/lib/examples/sleela/CLI-04-native-and-exec.md

CLI-04-native-and-exec.md

lib/examples/sleela/CLI-04-native-and-exec.md · 18 line(s) · markdown

Native and exec command forms

sleela native -- path/to/program.sleela
sleela exec path/to/program.sleela
sleela native --mm=512M -- path/to/program.sleela

The native form accepts --config FILE, the memory-manager option, and -- to end option parsing before the program and its arguments. Example configuration path (only if present in the checkout):

sleela native --config config/vm.conf -- path/to/program.sleela

exec is documented as the corresponding execution form.