Tunnel prevent message when Ctrl+C
This commit is contained in:
parent
758576532b
commit
0e96c7c615
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
try:
|
||||
import sys
|
||||
import os
|
||||
from subprocess import call
|
||||
|
@ -24,6 +25,8 @@ if proxy:
|
|||
|
||||
else:
|
||||
call(['nc', host, port])
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
||||
# #!/usr/bin/env bash
|
||||
|
|
Loading…
Reference in a new issue