fibonaccios/bin/ps.py

11 lines
254 B
Python
Raw Normal View History

2022-11-29 19:18:17 -08:00
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()