Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSLog broken after call of NSTask and setStandardError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog broken after call of NSTask and setStandardError




On 15.01.2008, at 22:38, Oliver Siemoneit wrote:

Hello,
I'm new to cocoa and obj c programming. Thanks to such great mailling lists like this one here, I have learned a lof during the last weeks. However here is something I cannot cope with:

Shortcut: Retry it with the Moriarty sample code. <http://developer.apple.com/samplecode/Moriarity/ >.


I was under the impression you even could open only binaries with NSTask, but apparently I was wrong. As a fist attempt I'd launch bash via NSTask with the shell file and see if that works.

Debug tools: The 'lsof' command might give you some hints which files & fd's are considered open by the OS.

HTH,
	Tom_E
_______________________________________________

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


References: 
 >NSLog broken after call of NSTask and setStandardError (From: "Oliver Siemoneit" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.