Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autoload/conque_term/conque.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ def close(self):

def abort(self):
""" Forcefully end the process running in the terminal. """
self.proc.signal(1)
self.proc.abort()

###############################################################################################
# Utility
Expand Down
5 changes: 5 additions & 0 deletions autoload/conque_term/conque_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ def signal(self, signum):
except:
pass

def abort(self):

self.signal(6)
os.waitpid(self.pid, 0)

def close(self):
""" Close process with sigterm signal """

Expand Down