Function umbra_lang::run_path [−][src]
Expand description
Loads a script from path
and runs it in the given environment.
If path
is a directory it will be adjusted by appending /main.um
. Or if the
file doesn’t exist .um
will be appended.
If run_main
is true and the script defines a function named main
then that
function will be run after the script body is done.