fibonaccios/bin/ps.py
2022-11-30 03:23:40 +00:00

11 lines
254 B
Python

import circuitos
class App(circuitos.App):
def F_main(self):
apps = self.os.apps
for pid, app in apps.items():
args = app.argv[1:]
name = app.name
print(f'{pid} {name} {args}')
self.exit()