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

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for tornado_subprocess-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d747685067c1665816932c1caf07b1c6e495b98c832e541db4ac714b47a7fece
MD5 87f6bb2c98c5dad772c6c5b54dd472c3
BLAKE2b-256 79a7df32a78825fa3589fbda5ebaa2153b690de5c2d47f987480daff204abadf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado_subprocess-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 b0aa1f826536446948355c3cdd71231cf4c1b48160b7ac8a4f4531da8e5215e2
MD5 01c31fe3ad5dc60791dd8f339677193a
BLAKE2b-256 28c3e1f103086083f1350d008973c0a9b08e27a32a25c2080fc64c87bb52ef21

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