php - How to "hack" GNU screen to be able of being executed without a tty? -
i need able of running gnu screen
using php
since panel works php
. if there's isn't way, there alternative allows me send commands screen?
like @ screen: screen -s 9274 -p 0 -x stuff '(command here)'\015
?
thanks.
you can use nohup
command designed such operations:
nohup
- run command immune hangups, output non-tty
you can start screen
in detached mode -d -m
parameters:
-d -m
start screen in "detached" mode. creates new session doesn't attach it. useful system startup scripts.
Comments
Post a Comment