- Use pyinstaller to build
simple.py
(pyinstaller -F simple.py
) - Place binary in src-tauri/bin
- Append target triple (I'm on ARM mac so left my binary in there)
- Run
yarn tauri dev
, see that sidecar command is successful - Make any change to
simple.py
(change printed text or whatever) - Repeat steps 2-4
- See that sidecar fails with signal 9
Note:
- The binary still works normally when called from the terminal
- The sidecar works in the prod build
yarn tauri build
- The sidecar only fails in dev
yarn tauri dev
If I reboot my computer the binary will work again without changing the binary at all. It makes me wonder if it's somehow related to signing the binary? Thanks for any help.