NSTask temrinationStatus always == 1?
NSTask temrinationStatus always == 1?
- Subject: NSTask temrinationStatus always == 1?
- From: marc hoffman <email@hidden>
- Date: Sun, 10 May 2009 20:18:38 +0200
Hi,
i have an odd issue with NSTask. for some reason, no matter what
result code my executable returns (im running xcodebuild, if that
matters), NSTask's terminationStatus always reports back as 1. if
instead i use system() to run the exact same command, i get bak proper
error codes (0 for success., other non-zero, non-one values for real
failures.
anyone have any ideas what could be going wrong to cause this?
thanx,
marc
_______________________________________________
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