Skip to content

Instantly share code, notes, and snippets.

@hflin0
hflin0 / tornado_subprocess.py
Created February 20, 2019 07:29 — forked from eliangcs/tornado_subprocess.py
A minimal web server that runs shell commands, powered by Tornado and its Subprocess module
"""
A minimal web server that runs shell commands, powered by Tornado and its
Subprocess module. It does non-blocking IO and streams the response.
To start the server:
$ python tornado_subprocess.py
To send a shell command using httpie:
@hflin0
hflin0 / cloudSettings
Last active March 25, 2021 09:51
vs code sync
{"lastUpload":"2021-03-25T09:51:15.334Z","extensionVersion":"v3.4.3"}