Problems with screen package

Issues related to software problems
Post Reply
madmalkav
Posts: 3
Joined: 2005/03/24 16:46:41

Problems with screen package

Post by madmalkav » 2005/06/30 09:15:24

I want Screen -one of my most beloved packages- to run some stuff on system startup or called through a php script. The screen command is:

screen -d -m -S l2j /root/l2j/startServer.sh

After some tries, looks like the "-d -m" options, that are supposed to start an screen session already detached, aren't working as supposed. If it try to remove that options, I just get a "Can't connect to a terminal" error -when calling it through a shell_exec() in a php script-.

Any ideas on how I can get it to start that program in a detached Screen session?


Thanks all for your help.

Post Reply

Return to “CentOS 4 - Software Support”