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 hashes)

Uploaded Source

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