Opened 13 years ago

Last modified 7 years ago

#718 enhancement new

Allow specifying exit code in generic way (supporting use and non-use of twistd)

Reported by: itamarst Owned by:
Priority: normal Milestone:
Component: core Keywords: twistd
Cc: Jean-Paul Calderone, itamarst, miracle2k Branch:
Author:

Description


Change History (7)

comment:1 Changed 13 years ago by itamarst

You can do sys.exit(2) after reactor.run(), but that doesn't help for twistd
based apps.

comment:2 Changed 8 years ago by Jean-Paul Calderone

#2182 was a duplicate of this, and has some discussion and patches.

comment:3 Changed 8 years ago by Jean-Paul Calderone

Also, see #761, a related feature request.

comment:4 Changed 8 years ago by miracle2k

Cc: miracle2k added

comment:5 Changed 8 years ago by Itamar Turner-Trauring

For twistd, a good default behavior is probably exiting non-0 if the startService/.tac load/plugin load threw an exception.

comment:6 Changed 7 years ago by Jean-Paul Calderone

Keywords: twistd added

comment:7 Changed 7 years ago by <automation>

Owner: itamarst deleted
Note: See TracTickets for help on using tickets.