The Base Application class for IPython.parallel apps
Authors:
Bases: exceptions.Exception
Bases: IPython.core.crashhandler.CrashHandler
sys.excepthook for IPython itself, leaves a detailed report on disk.
Bases: IPython.core.application.BaseIPythonApplication
The base Application for IPython.parallel apps
Principle extensions to BaseIPyythonApplication:
alias of ParallelCrashHandler
Get the pid from the pid file.
If the pid file doesn’t exist a PIDFileError is raised.
initialize the app
Remove the pid file.
This should be called at shutdown by registering a callback with reactor.addSystemEventTrigger(). This needs to return None.
Create a .pid file in the pid_dir with my pid.
This must be called after pre_construct, which sets self.pid_dir. This raises PIDFileError if the pid file exists already.