Skip to main content

A module which allows you to spawn subprocesses from a tornado web application in a non-blocking fashion.

Project description

A module which allows you to spawn subprocesses from a tornado web application in a non-blocking fashion.

Example:

def print_res( status, stdout, stderr ) :
if status == 0:

print “OK:” print stdout

else:

print “ERROR:” print stderr

t = Subprocess( print_res, timeout=30, args=[ “cat”, “/etc/passwd” ] ) t.start()

#start tornado t.ioloop.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tornado_subprocess-0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tornado_subprocess-0.1-py2.7.egg (5.1 kB view details)

Uploaded Egg

File details

Details for the file tornado_subprocess-0.1.tar.gz.

File metadata

File hashes

Hashes for tornado_subprocess-0.1.tar.gz
Algorithm Hash digest
SHA256 74030e876a417f1cfd8e856437e46005cf78ea9b03e00e56e4e47c594ff53f8e
MD5 f455faca3f4306e91978c0b50e983933
BLAKE2b-256 4b854fe6f0b8500f42681d36888f60cdeb0bb11312092a13bea8e67e8ea36e01

See more details on using hashes here.

File details

Details for the file tornado_subprocess-0.1-py2.7.egg.

File metadata

File hashes

Hashes for tornado_subprocess-0.1-py2.7.egg
Algorithm Hash digest
SHA256 77b9128702bd0f5d823674ca91c366a88ad08f3b696af7bd372a54ec5dbd299c
MD5 a1ea68262ec486cd09cb5516c6e33ace
BLAKE2b-256 19c4eefcae49f49fd4d4d6c9971afa355781132821a80c6097418d9288830b8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page