def run(self):
# exec command
print (self.command)
# use terminal emulator?
if self.use_term:
commands.getstatusoutput(def_term + " -e 'bash -c \"" + self.command + "; read; \"'")
else:
commands.getstatusoutput(self.command)
# callback
if hasattr(self.callback, '__call__'):
self.callback()
#
# Retarded Kill
#
评论列表
文章目录