DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.84k stars 79 forks source link

V2 Fish shell incompatibility? #47

Closed 4e4c52 closed 5 years ago

4e4c52 commented 5 years ago

Hello,

Thanks for making Overmind!

Since upgrading to V2 yesterday, I get an error when trying to start Overmind within my Fish shell.

system | Listening at /Users/nathan/Culturinthebox/app-ne/.overmind.sock
system | Tmux socket name: overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1
system | Tmux session ID: app-ne
guard  | Started with pid 2004...
worker | Started with pid 2006...
assets | Started with pid 2003...
web    | Started with pid 2005...
assets | Failed to execute process '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/assets'. Reason:
assets | exec: Invalid argument
guard  | Failed to execute process '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/guard'. Reason:
web    | Failed to execute process '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/web'. Reason:
web    | exec: Invalid argument
web    | The file '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/web' is marked as an executable but could not be run by the operating system.
guard  | exec: Invalid argument
guard  | The file '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/guard' is marked as an executable but could not be run by the operating system.
assets | The file '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/assets' is marked as an executable but could not be run by the operating system.
worker | Failed to execute process '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/worker'. Reason:
worker | exec: Invalid argument
worker | The file '/var/folders/0l/cgbgptb50wj_dfbbxhqpc1jh0000gn/T/overmind-app-ne-9erZUt6RmoPFXiCmIEn0h1/worker' is marked as an executable but could not be run by the operating system.
guard  | Exited
assets | Exited
worker | Exited
web    | Exited

Do you have an idea of something I can try?

Thanks,

Nathan

DarthSim commented 5 years ago

Hi, Looks like the reason is the missed shebang in the processes scripts generated by Overmind. It works fine in Zsh and Bash so I didn't notice this. Thanks for pointing on this! Fixed in v2.0.1

4e4c52 commented 5 years ago

Thank you very much 😀

natikgadzhi commented 5 years ago

Just ran into this too, thanks for fixing this @DarthSim! 💪