Skip to main content

Fork you process like a boss

Project description

Fork your proccess like a boss:

import forkme
import logging
from time import sleep


logging.basicConfig(level=logging.DEBUG)


def main():
    forkme.fork(4)
    sleep(1)
    print(forkme.get_id())


if __name__ == '__main__':
    main()

Forkme will control forks. When subprocess will be killed or will exit with non-zero code it will be restarted immediately.

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

forkme-0.5.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file forkme-0.5.tar.gz.

File metadata

  • Download URL: forkme-0.5.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for forkme-0.5.tar.gz
Algorithm Hash digest
SHA256 084c1516836c6d5cc7af32df70b0bffd1cc7497048498b51671ea9b49fc2204f
MD5 7b3e86aa6de9f1a04b8ef21ff89651f9
BLAKE2b-256 7fccacf7b792c9eb689a085001b537592c3d7763ae86c9f399c308f7595f2c3d

See more details on using hashes here.

Supported by

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