Skip to content

Instantly share code, notes, and snippets.

Frankie Fu Fansion

Block or report user

Report or block Fansion

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Fansion /
Created Dec 18, 2016 — forked from andreif/
A simple unix/linux daemon in Python

A simple unix/linux daemon in Python



by Sander Marechal

I've written a simple Python class for creating daemons on unix/linux systems. It was pieced together for various other examples, mostly corrections to various Python Cookbook articles and a couple of examples posted to the Python mailing lists. It has support for a pidfile to keep track of the process. I hope it's useful to someone.

View hello_world.cpp
#include <iostream>
using namespace std;
int main()
cout << "hello world!" << endl;
return 0;
You can’t perform that action at this time.