Python without a tty

Thomas Jollans t at jollybox.de
Thu Sep 29 11:45:40 CEST 2011


On 29/09/11 11: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.
> 

./program </dev/null >/dev/null 2>&1




More information about the Python-list mailing list