随笔分类 -  Shell

Cocoa Sell 相关
AppleScript in Cocoa
摘要:NSString *path = [[NSBundle mainBundle] pathForResource:@"××××" ofType:@"scpt"];NSAppleScript *script = [[NSAppleScript alloc] initWithContentsOfURL:[... 阅读全文

posted @ 2014-09-05 16:34 innovator 阅读(211) 评论(0) 推荐(0)

Shell in Cocoa
摘要:头文件相关#include 方法相关system("");带默认密码的Shell命令system("echo | sudo -S ... -r now"); 阅读全文

posted @ 2014-09-05 16:29 innovator 阅读(138) 评论(0) 推荐(0)

导航