mirror of https://github.com/garabik/grc.git
cleanup
This commit is contained in:
parent
4ea874b224
commit
9dd0d18f62
1
grc
1
grc
|
@ -26,7 +26,6 @@ Options:
|
||||||
def catch_signal(signum, frame):
|
def catch_signal(signum, frame):
|
||||||
"catch signal sent to grc and forward it to the original application"
|
"catch signal sent to grc and forward it to the original application"
|
||||||
global pidp
|
global pidp
|
||||||
# print('signal')
|
|
||||||
try:
|
try:
|
||||||
os.kill(pidp, signum)
|
os.kill(pidp, signum)
|
||||||
except OSError: # if the subprocess already died
|
except OSError: # if the subprocess already died
|
||||||
|
|
Loading…
Reference in New Issue