saleyn / erlexec

Execute and control OS processes from Erlang/OTP
https://hexdocs.pm/erlexec/readme.html
Other
527 stars 139 forks source link

Exec-port binary can't be found when erlexec is distributed in a release #84

Closed ccrusius closed 7 years ago

ccrusius commented 7 years ago

If erlexec is packaged as an application using reltool, exec-port will not be found. This is due to the .beam files being put into an archive. The error message says it all:

sh: line 0: exec: /Users/ccrusius/git/spoken-code/build/erlang/rel/lib/erlexec-1.2.2.ez/erlexec-1.2.2/priv/x86_64-apple-darwin15.5.0/exec-port: cannot execute: Not a directory

This is also mentioned here.

I will be providing a fix soon.

saleyn commented 7 years ago

Please submit a PR.

ccrusius commented 7 years ago

Submitted (request #85)