Hey guys here is what I want but have no idea how I could do it.
It's a simple thing but just can't figure out how I could click on a button and execute command directly on Terminal.
Explaining better, I have a textView and a button (Cocoa). So, when I click the button it will trigger a sudo -s then will execute another command with arguments.
So, anyone could help?