Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system command returning unknown error.



Yes I read the man page, and it says -1 if not successful, 0 if successful, and returns non-zero if the command you pass in is NULL, but I know I didn't pass in null cause I log it right before I execute the command.

Matt


From: "Justin C. Walker" <email@hidden>
To: "email@hidden list" <email@hidden>
Subject: Re: system command returning unknown error.
Date: Wed, 14 Jun 2006 10:38:46 -0700


On Jun 14, 2006, at 10:30 , matt jaffa wrote:

Hi,

I am calling system(char* command) in my .cpp file. But this is returning
error 32256. This error no. is not documented so I don't know why it is not
working.
Anyone seen this error number before and know what it means.

Did you read the man page for the 'system()' call?

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
-----------
Nobody knows the trouble I've been
-----------



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.