• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa-dev Digest, Vol 9, Issue 28
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Cocoa-dev Digest, Vol 9, Issue 28
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 19 Jan 2012 21:27:34 +0800

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,email@hidden 写道:

> 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];
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: NSSlider and arrangedObjects
  • Next by Date: Re: Cocoa-dev Digest, Vol 9, Issue 28
  • Previous by thread: Re: NSSlider and arrangedObjects
  • Next by thread: Re: Cocoa-dev Digest, Vol 9, Issue 28
  • Index(es):
    • Date
    • Thread