packr: Can't start new processes on MacOS with .app
When using ProcessBuilder, one cannot start a new process within a .app packaged by packr. The same code, run from the same embedded JRE directly, actually can start the processes.
starting the process throws an IOException with error number 2 or 20, error=2, No such file or directory, both seem to be from posix.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (8 by maintainers)
Commits related to this issue
- Set jspawnhelper to executable Resolves #161 — committed to libgdx/packr by deleted user 4 years ago
I updated packr to search for jspawnhelper and set it to executable. You can try the latest packr snapshot, available at https://github.com/libgdx/packr/packages/394128