Hello again.
I'm using 2.50 final for now, but I still have old problems and one new.
ghisler, please, just wrap path with double quotes in command cd %P, which Total Commander executes before user shell command.
For example, I'm trying to execute following command in directory "/sdcard/My Dir"
In SuperSU logs I see
Code: Select all
cd /sdcard/My Dir
ls -al "/sdcard/My Dir"
exit
sh: <stdin>[1]: cd: bad substitution
drwxrwxr-x 3 root sdcard_r 4.0K Nov 29 13:20 Another My Dir/
In first line cd tries to change directory to "/sdcard/My" and not to "/sdcard/My Dir" as it should be and fails, because there is no directory "My" in sdcard. Path should be wrapped with quotes like in second line. In TC's result screen I see only "sh: <stdin>[1]: cd: bad substitution".
And I have another bug. TC shows "[...]" instead of first line of results, if I using "*" as prefix for command (to copy results to clipboard). TC copies text as it should be (first line is normal, not "[...]"). If I delete "*", I would not be able to copy results, but I can see normal first line in popup window. This bug appears every time, when I execute "ls -al" or "cat" commands. In previous stable version I haven't such bug. Please fix it too.
Thanks for a greatest file manager!