Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To run a program,
- ```bash
- websocketd --port=8081 --dir . --devconsole
- ```
- You keep `main.py` in the dir of `websocketd`.
- Then go to `localhost:8081`.
- Commands can now be executed like `main.py?<cmd>`. For example, `main.py?ls -lah`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement