aboutsummaryrefslogtreecommitdiffstats
path: root/run/executable/executable.py
diff options
context:
space:
mode:
Diffstat (limited to 'run/executable/executable.py')
-rw-r--r--run/executable/executable.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run/executable/executable.py b/run/executable/executable.py
index e6f2003..a2426f1 100644
--- a/run/executable/executable.py
+++ b/run/executable/executable.py
@@ -59,6 +59,9 @@ class Executable(object):
59 def interrupt(self): 59 def interrupt(self):
60 self.sp.send_signal(signal.SIGINT) 60 self.sp.send_signal(signal.SIGINT)
61 61
62 def poll(self):
63 return self.sp.poll()
64
62 def terminate(self): 65 def terminate(self):
63 '''Send the terminate signal to the binary.''' 66 '''Send the terminate signal to the binary.'''
64 self.sp.terminate() 67 self.sp.terminate()