sudo and some other system commands not working with platypus
You can also use the osascript to launch the application. This ensures sudo access.

osascript -e "do shell script \"/path2/shellscript.sh $*\" with administrator privileges"


You can put this in another shell script to call your script. Or directly run your required command within the quotes.

This is better since you don't have to rely on /usr/bin/sudo being run recently or not