When Gatekeeper got locked down, Apple also locked sudo down by setting the requiretty sudo flag so that you can’t using the old sudo -S option to pass the password through as an argument like this:
echo thePassword | sudo -S /usr/bin/true (works through 10.9 and some 10.10)
You could get the user to modify their /private/etc/sudoers file, but that requires the same level of access as asking them to run that sptcl command.
As Michel states, the best answer is to codesign your apps