View Single Post
Old 03-25-2013, 09:49 AM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by NullNix View Post
Well for one thing that ? is an unescaped shell metacharacter. It's probably not changing, due to matching nothing, but still, it's probably safer to say

PHP Code:
'SCREEN SAVER' "$SETPROP" 'com.lab126.appmgrd start app://com.lab126.booklet.settings?diagnosticMode=;411';; 
i.e. change quotation style after the command, since you no longer need parameter expansion after that point. Only, even that isn't what you want, because that's passing *one* parameter to setprop, which happens to have spaces in it. setprop isn't going to like that. Try

PHP Code:
'SCREEN SAVER' "$SETPROPcom.lab126.appmgrd start 'app://com.lab126.booklet.settings?diagnosticMode=;411';; 
Shell quoting... it has defeated all of us from time to time.

I will try that too...

Although I am happy to just get even the HOME one working for right now : )
twobob is offline   Reply With Quote