Python CatchableProcess: Catch exceptions in spawned processes

Normally, a parent process and a spawned process will have no link in between, meaning thrown errors from each process will be quite independent. The parent is ignorant to the errors in the child process, and vice versa.

I wrote this class to solve that problem, on calling p.join() on the parent process (p is the spawned process) all the thrown errors will be propagated to the parent as well.

Konpat Preechakul

Read more posts by this author.