This is a cocoa method for restarting a mac app