Launching a curses script with screen -dm
Rob Thomas
rob at fuzebox.org
Fri Nov 4 15:50:13 EST 2005
Hey guys,
Having a problem with a script using the curses module... It works fine
if I start it like so:
screen python script.py
However, if I want to start it in detached mode (i restart it every day
through cron, so I need to be able to do this), like so:
screen -dm python script.py
I get this error:
_curses.error: start_color() returned ERR
Is it because a TERM variable isn't set properly? I'm running screen
with -T xterm, which should take care of that...
Any insight would be appreciated :)
-Rob Thomas
More information about the Python-list
mailing list