SCREEN PHP detached mode with Arguments
I had a simple php script, which i would like to start from the console in a detached mode with screen.
my problem is:
the program needs two arguments and the output of this script should be write in a specified f开发者_JAVA技巧ile.
so how to do it like
screen -d -m php bl.php 3 2 > rob.dat
Please help me.
You may start screen first, execute the command and then detach it.
screen -S mySession
php b1.php 3 2 > rob.dat
[Strg]+A, d
精彩评论