mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-30 18:18:44 -04:00
Merge pull request #17 from nlevitt/ari-3811
thread dump on SIGQUIT a la java
This commit is contained in:
commit
beeb4a2a2c
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ class Chrome:
|
|||
self.chrome_process.wait()
|
||||
|
||||
def main():
|
||||
import faulthandler
|
||||
faulthandler.register(signal.SIGQUIT)
|
||||
|
||||
arg_parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),
|
||||
description='umbra - Browser automation tool',
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue