Yes exit codes are application specific, so you can use any value here less
than 127. Values greater than 127 indicate death by a signal, so you
shouldn't use those.

-- 
Brandon Forehand
On Oct 10, 2013 1:46 PM, "proby" <notifications@github.com> wrote:

> In lib/qless/worker/forking.rb:
>
> > @@ -41,6 +44,10 @@ def extend(mod)
> >        # Spawn a new child worker
> >        def spawn
> >          worker = SerialWorker.new(reserver, @options)
> > +        # We use 11 as the exit status so that it is something unique
> > +        # (rather than the common 1). Plus, 11 looks a little like
> > +        # ll (i.e. "Lock Lost").
> > +        worker.on_current_job_lock_lost { |job| exit!(11) }
>
> @b4hand <https://github.com/b4hand> is using the 11 exit safe?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/seomoz/qless/pull/148/files#r6900205>
> .
>