max-mapper / monu

menubar process monitor mac app [ALPHA]
https://github.com/maxogden/monu/releases
BSD 2-Clause "Simplified" License
1.11k stars 74 forks source link

Processes die ever since I upgraded to 1.0.7. #33

Closed ianwalter closed 8 years ago

ianwalter commented 8 years ago

Logs just says:

mon : child 983
mon : write pid to /Users/ian/Library/Application Support/Monu/data/pids/redis.pid
mon : exit(127)

The commands execute fine if I run them manually and this is happening on 2 of my computers. I tried restoring the old version, but got the same issue. My config file looks like:

{
  "logs": "./logs",
  "pids": "./pids",
  "processes": {
    "redis": "redis-server",
    "postgres": "postgres -D /usr/local/var/postgres"
  }
}

Any ideas? Thanks.

ianwalter commented 8 years ago

Works if I give the full path to the binary /usr/local/bin but not sure why I have to do that now. Especially since /usr/local/bin is in the $PATH if I echo it as a command.

max-mapper commented 8 years ago

sorry it's an upstream issue: https://github.com/sindresorhus/shell-path/issues/4

I think it was caused by electron at some point...

sindresorhus commented 8 years ago

The issue was fixed in shell-path.

marcbachmann commented 8 years ago

New version of shell-path landed in v1.1.0. Thanks.