I want to launch a PHP Process in a Screen session that has not been invoked yet. I do not want to attach to this screen. I will be launching lots of these, by hand at first, then probably with a shell script. I would like to write the output of each to a unique log file ( preferably in /tmp/shell ), but it really doesn't matter where.
This seems close to what I want, but doesn't work:
screen -d -m -X 'php process.php param1 param2'
SOLUTION
Just remove the -X.
This works screen -d -m php process.php param1 param2