Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 975 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro.exe return codes #481019
08/01/20 16:51
08/01/20 16:51
Joined: Feb 2017
Posts: 1,726
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,726
Chicago
jcl,

If a Zorro process is launched from the command line, it would be useful to be able to get return codes, for example, to detect a crash.

If I might make a suggestion: in the script, let the script writer set a global value for return codes, and then whenever the process exits or crashes, it will use that return code regardless.

For example, if a script writer wants to detect child process crashes with return codes, on init, script sets ProcessReturnCode to 1, and during cleanup(), script sets ProcessReturnCode to 0. Therefore, if the child script crashes unexpectedly, the process returns 1, otherwise 0 for success.

Re: Zorro.exe return codes [Re: AndrewAMD] #481038
08/03/20 09:41
08/03/20 09:41
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Good idea.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1