NSTaskã§å¤é¨ã³ãã³ããå®è¡ããå ´åãå¤é¨ã³ãã³ãããã«ãã¹ã§æå®ããªãã¨ãããªããããããã·ã³ç°å¢ã«ãã£ã¦ã³ãã³ãã¯ãã·ã³ã«ãã£ã¦"/opt/local/bin"ã ã£ãã"/usr/local/bin"ã ã£ããããã®ã§ããã«ãã¹ã§ã³ãã³ããæå®ããã¨åããªãã£ããããã®ã§ã"/bin/sh -c"ãçµç±ããã¦ã³ãã³ãã®å®è¡ãã¹ã解決ããã¨å¹¸ãã«ãªããã¿ããã§ãã #import <Foundation/Foundation.h> int main(void) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSTask *task = [[NSTask alloc] init]; NSPipe *pipe = [[NSPipe alloc] init]; [task setLaunchPath: @"/bin
{{#tags}}- {{label}}
{{/tags}}