Leopold Toetsch <[EMAIL PROTECTED]> wrote: > spawnw $I0, "$EDITOR hello.imc" > .end
That's of course suboptimal. Here is a better version:
.local pmc env
env = new Env
.local string editor
editor = env["EDITOR"]
# TODO: provide sensible default if not found, i.e. vim
.local string cmd
cmd = editor
cmd .= " hello.imc"
spawnw $I0, cmd
.end
leo
