Open goldyfruit opened 7 months ago
Not 100% sure the differences in the implementations, but I did a little tweak on mine for ovos-mac that seemed to help:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import sys
from ovos_PHAL.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
try:
sys.exit(main())
except KeyboardInterrupt:
print("Process interrupted by user")
sys.exit(1)
I don't think it would here necessarily, though, because systemd won't do a KeyboardInterrupt...
For some reason,
ovos_PHAL
always has a zombie process.