iPhone function execute external command