You should be able to add your username and the app to the sudoers file using visudo.
That way when you type sudo app it won't ask for the password.
sudo visudo
Add the following:
username ALL=NOPASSWD:full_path/app_name
You should be able to add your username and the app to the sudoers file using visudo.
That way when you type sudo app it won't ask for the password.
sudo visudo
Add the following:
username ALL=NOPASSWD:full_path/app_name