Commit Graph

7 Commits

Author SHA1 Message Date
Ellwood Zwovic
f411c68115 Some stuff from old exception-based error handling approach 2017-07-09 18:59:36 -07:00
Ellwood Zwovic
24b1a19409 Also raise exception on child process, to get a traceback for debugging
I initially thought I could pass the traceback with the exception, but
it seems transmitting exceptions around with their tracebacks intact is
not so easy. There's a library which does this:

https://github.com/ionelmc/python-tblib

But this doesn't seem important enough to introduce a dependency..
2017-07-09 15:10:13 -07:00
gandalf3
a4a1f69cd1 Note reasoning behind call order 2017-07-09 14:59:08 -07:00
gandalf3
32f0d9fdb6 Add docstrings 2017-07-09 14:49:34 -07:00
gandalf3
8cc606b263 Add decorator for handing child-process side of pipe 2017-07-09 14:40:56 -07:00
gandalf3
1188f91b7b Subprocess management: use a decorator
Use a decorator instead of a mixin to handle subprocess spawning and
monitoring
2017-07-08 17:54:45 -07:00
gandalf3
fcf90a0e75 Split addon code up by purpose 2017-07-07 17:56:49 -07:00