osh: Modules/main.c:347: Ovm_Main: Assertion `sts != -1' failed.
Aborted (core dumped)
Oh are you on Arch Linux? 2 other people reported that but I haven’t been able to reproduce.
Can you try this?
$ OVM_VERBOSE=1 osh -c 'echo hi' 2>log.txt
And then send me log.txt.
I would appreciate if you would post the report here: https://github.com/oilshell/oil/issues/16
Mine looks like this:
$ head log.txt
ovm_path = ovm_path_buf (/usr/local/bin/oil.ovm)
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# zipimport: found 234 names in /usr/local/bin/oil.ovm
import _codecs # builtin
import codecs # loaded from Zip /usr/local/bin/oil.ovm/codecs.pyc
import encodings.aliases # loaded from Zip /usr/local/bin/oil.ovm/encodings/aliases.pyc
import encodings # loaded from Zip /usr/local/bin/oil.ovm/encodings/__init__.pyc