Closed rubiesonthesky closed 3 years ago
Interesting: I've always run this in a docker container that had installed procps
. TBH, I'd never even considered ps
not being available on a POSIX system!
I'll put a warning on this package and exiftool-vendored for now. If you want to take a stab at a PR, we can reopen this issue and I'd be happy to review it.
This concers
exiftool-vendored
usage but the problem is coming from this library.When using
exiftool-vendored
in minimized Docker image, for example, Debian slim, processed are not killed / terminated correctly becauseps
command is not found.procps
is not by default installed on slim version.ps
command? Propably unlikely.ps
is missing?I'm sure I will not be only one having this issue where processes are just spawned with every task invocation and then reported "dead" because this library can't get their pid. Using minimized / slim Docker images is the recommendation and you wouldn't think that using node library is depending having
ps
command available :) After adding procps to my Docker image, things are working as they should be / same manner as my local dev environment.