Re: Cocoa-dev Digest, Vol 9, Issue 28

  • My Java
    processes do not quit if I pipe their output to null:
    �NSTask *task = [NSTask new];
    �[task setLaunchPath:execPath];
    �[task setCurrentDirectoryPath:_directory];
    �[task setArguments:arguments];
    �[task setStandardError:[NSFileHandle fileHandleWithNullDevice]];
    �[task setStandardOutput:[NSFileHandle fileHandleWithNullDevice]];
    �[task launch];

    Ling Peng

    在 2012年1月19日,18:40,<cocoa-dev-request...> 写道:

    > My Java
    > processes do not quit if I pipe their output to null:
    > �NSTask *task = [NSTask new];
    > �[task setLaunchPath:execPath];
    > �[task setCurrentDirectoryPath:_directory];
    > �[task setArguments:arguments];
    > �[task setStandardError:[NSFileHandle fileHandleWithNullDevice]];
    > �[task setStandardOutput:[NSFileHandle fileHandleWithNullDevice]];
    > �[task launch];
previous month january 2012 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today