By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,441 Members | 1,758 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,441 IT Pros & Developers. It's quick & easy.

Launching a curses script with screen -dm

P: n/a
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

Nov 4 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.