vm: when run non-interactively, don't use prompt.