mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
dac0d5b234
Previously, PyLink spuriously removed PID files even if -n/--no-check-pid was set or if PID file checking caused PyLink to quit
(cherry picked from commit 91659ea992
)
14 lines
467 B
Python
Executable File
14 lines
467 B
Python
Executable File
#!/usr/bin/env python3
|
|
import sys
|
|
try:
|
|
from pylinkirc import launcher
|
|
except ImportError:
|
|
print("ERROR: Failed to import PyLink launcher module (pylinkirc.launcher).\n\nIf you are "
|
|
"running PyLink from source, please install PyLink first using 'python3 "
|
|
"setup.py install' (global install) or 'python3 setup.py install --user'"
|
|
" (local install)\n")
|
|
sys.exit(1)
|
|
else:
|
|
if __name__ == '__main__':
|
|
launcher.main()
|