The first thing would probably be to not use exceptions for flow control.
You don’t mention how you are calling the shell command or how you are handling the progress bar stop button, but if you are using NSTask, you can keep track of it (property, etc). Then the task can be terminated immediately in the stop button handler before performing the normal progress bar dismissal.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: