Quoth [EMAIL PROTECTED]:
> i do in my application some call to a script with the function
> system().
> This function return normally in case the script is executed, the
> return value of the script.
> But i do several test, and the function system never return a valid
> value.
> For example :
> iResult = system("./script"); and in my script exit 1
> when script return 1, i see iResult=0x100
> when script return 0x10, i see iResult=0x1000

Seems perfectly normal to me.  Are you using the wait(2) macros to interpret
the return value like you're supposed to?

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to