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

Thanks :)
I did not test the behavior when setting wait to false but if supervisord refuse the start command I am afraid we have an annoying problem xD
one solution could be to span another thread to control the restart:

```ruby
def restart(wait = true)
if wait
stop(true)
start(true)
else
Thread.new do
stop(true)
start(true)
end
end
end
```