schmurfy/ruby-supervisor — comment on commit 312bd57cf97776ef73382ee82af9d24416431c38
File: lib/ruby-supervisor/api/process.rb line 81
By fredreichbier:

Hi there! First, thank you for making this very useful gem!
I've noticed that `restart` causes problems if ``wait=false`` is passed. Since it doesn't wait for the process to actually stop, the `start` command often doesn't get accepted by supervisord since the process is "still running". Thus, the process gets stopped, but not started again. But I don't have any ideas how to fix that while preserving the ``wait=true`` behaviour. :/