Variable followed by single quote?
Posted: Thu Aug 15, 2013 6:41 am
I am trying to create an app the calls adb.exe and runs a special command but I am having issues here:
This doesn't work because of the last single quote. How do I get that quote added to the end of the line after both variables? That single quote is needed adb shell tries to execute each word after -c as a separative command. In C# I would do
where the last single quote is enclosed in double quotes. is that the same in LiveCode? Would I encase it in double quotes?
Many thanks,
x942
Code: Select all
"adb shell su -c 'vdc cryptfs pde wipe" && decoyVariable && HiddenVariable & '
Code: Select all
var encrypt = Proccess.Start("cmd","adb shell su -c 'vdc cryptfs pde wipe" +decoyVariable + HiddenVariable + "'")
where the last single quote is enclosed in double quotes. is that the same in LiveCode? Would I encase it in double quotes?
Many thanks,
x942