Python without a tty

Martin P. Hellwig martin.hellwig at
Thu Sep 29 16:25:40 CEST 2011

On 29/09/2011 10:21, Steven D'Aprano wrote:
> I have a Python script which I would like to test without a tty attached
> to the process. I could run it as a cron job, but is there an easier way?
> I am running Linux.
Well you could double fork and drop the parent, that would lose the tty
which is the same effect what you get when you want a daemon.


More information about the Python-list mailing list