A little research would have given you multiple solutions for your problem:
Captain Shell Plugin - 'just' shell script execution, with Userdefined scripts Menu Fantastic Plugin - completely self defined menu structures with shell execution and ... Barry Allen Plugin - offers shell execution from WebIF (besides other things)