add PackageController.exec method as convenient to call ShellCommand
use PackageController.exec