openstenoproject/plover

Plover -s error out when invoked program sys.exit(<non-integer value>)

Opened this issue · 0 comments

Describe the bug

In title.

To Reproduce

Steps to reproduce the behavior:

It's quite complex to reproduce (in my case it's caused by some combination of jupyter not finding its subcommands on Mac etc.), but reading the code it can be seen.

code = e.code

Here code is not necessarily integer.

plover -s jupyter on Mac might reproduce it.

Expected behavior

The message is printed then Plover exits.

Operating system

  • OS: macOS Big Sur
  • Plover Version: 4.0.0 dev 10, last release