fibonaccios/bin/kill.py
2022-11-30 03:32:41 +00:00

8 lines
164 B
Python

def get_app_class(template):
class App(template):
def F_main(self):
self.os.kill(int(self.argv[1]))
self.exit()
return App