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.

::
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.3.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.3-py2.7.egg (5.1 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for tornado_subprocess-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e5fe6857439616fdb1f9da108b1d34d70cc610dd2dbb2b0a9a5d133106568722
MD5 7c0a75eb8a173bc715c7e420cfd1869b
BLAKE2b-256 ed26eb3d60ce9329256a153285e9d29cb86f292dc26a2ccf7b835b4bc1b1d767

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado_subprocess-0.1.3-py2.7.egg
Algorithm Hash digest
SHA256 f6bbc95f548c3c3588d2a9263d5f9d39c47d634180afd8953d5d6e2db86525ae
MD5 ade02f9187fb5d6b2f1cf005139c3080
BLAKE2b-256 78c090c38d48eac3edfe85d53c3e0504593dd6b1b378f96185a5628e4108d474

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