摘要: NSTask *task = [[NSTask alloc] init]; [task setLaunchPath:@"usr/bin/dpkg"]; [task setArguments:[NSArray arrayWithObjects:@"-i", @"/var/mobile/Downloads/update.deb", nil]]; [task launch]; 阅读全文
posted @ 2018-02-07 17:22 CoderNet 阅读(132) 评论(0) 推荐(0) 编辑