module

Launcher::SingleInstance

Class methods

acquire!

Try to grab the single-instance lock. Non-blocking: raises AlreadyRunning when another launcher holds it. NOTE: flock_exclusive returns Nil on success and raises IO::Error when the lock is held — there is no false to branch on.

Source
release
Source

Nested types