Most puppy distros, in order to run chrome browser as spot user, modifies chrome launch script to contain something like this:
Code: Select all
exec su spot -s /bin/sh -c "google-chrome $ARGS"
When I try to open a local html file whose name contains "$...", for example "xxx$2yyy.html", somehow chrome removes "$" when it tries to interpret the file path, resulting in failure to open the file. As the "google-chrome..." command is written as a string argument following "/bin/sh -c", it looks very difficult for the /bin/sh/ command to properly parse the argument (to avoid reading "$2" as another arg). I tried different combinations of single and double quotes, but did not come to a solution.