mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
11 lines
261 B
Python
11 lines
261 B
Python
|
#!/usr/bin/env python
|
||
|
"""This script can only be killed by SIGKILL."""
|
||
|
import signal, time
|
||
|
|
||
|
# Ignore interrupt, hangup and continue signals - only SIGKILL will work
|
||
|
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
||
|
|
||
|
print('READY')
|
||
|
while True:
|
||
|
time.sleep(10)
|
||
|
|