()
| 667 | |
| 668 | |
| 669 | def main(): |
| 670 | #change name to 'pyLoadCore' |
| 671 | #from module.lib.rename_process import renameProcess |
| 672 | #renameProcess('pyLoadCore') |
| 673 | if "--daemon" in sys.argv: |
| 674 | deamon() |
| 675 | else: |
| 676 | pyload_core = Core() |
| 677 | try: |
| 678 | pyload_core.start() |
| 679 | except KeyboardInterrupt: |
| 680 | pyload_core.shutdown() |
| 681 | pyload_core.log.info(_("killed pyLoad from Terminal")) |
| 682 | pyload_core.removeLogger() |
| 683 | _exit(1) |
| 684 | |
| 685 | # And so it begins... |
| 686 | if __name__ == "__main__": |
no test coverage detected