Just wondering if there was anything new in the latest releases to send a return code to the shell (in order to use $? to know if execution was successful or not).
Are you asking about the latest 11.x releases?
Yes, I'm working with 11.x
good suggestion. but note that:
on UNIX and Linux, process exit codes are 8 bit unsigned integers (0 to 255). 0 means success. often scripts just check for 0 or nonzero.
we set the exit code to one of a few internally defined (and poorly documented) values in all our executables.
that means to implement the suggestion, we would have to come with a scheme that fits in with current usage.
> On Oct 2, 2015, at 11:35 AM, Martha Lynch wrote:
> Update from Progress Community [https://community.progress.com/]
> Martha Lynch [https://community.progress.com/members/mlynch]
> Are you asking about the latest 11.x releases?
> View online [https://community.progress.com/community_groups/openedge_general/f/26/p/20422/72612#72612]
> You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here [https://community.progress.com/community_groups/openedge_general/f/26/t/20422/mute].
> Flag [https://community.progress.com/community_groups/openedge_general/f/26/p/20422/72612?AbuseContentId=6f932be0-56a5-40dd-b382-19cb016d0e45&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true] this post as spam/abuse.
Even a limited subset of 0..255 would be enough for my use case !