leinelissen / embedded-postgres

🐘 A Node package that allows you to spawn a Postgresql cluster programatically.
MIT License
53 stars 10 forks source link

fix: wait properly for postgres exit #10

Closed iki closed 8 months ago

iki commented 10 months ago

Issue:

Solution:

leinelissen commented 8 months ago

Hey there, this issue was mainly due to the fact that on Windows, NodeJS does not properly propagate signals as it would on POSIX systems. In the latest version (beta.11), there is now a separate shutdown procedure for Windows that implements other methods. Would love to hear from you whether that solves your problems!