Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. To run a program,
  2. ```bash
  3. websocketd --port=8081 --dir . --devconsole
  4. ```
  5.  
  6. You keep `main.py` in the dir of `websocketd`.
  7.  
  8. Then go to `localhost:8081`.
  9.  
  10. 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