how to get the RESULT CODE from a program into a variable?

nnCron and nnCron LITE discussion

how to get the RESULT CODE from a program into a variable?

Postby LuckMan212 » Wed, 06 Jul 2005, 10:29

hello,

when issuing a command such as:
Code: Select all
START-APP: "C:\Program Files\cURL\curl.exe" http://www.url.com/index.htm


is it possible to obtain (either on the stack or in a variable) the RESULT CODE or EXIT CODE from the program executed?

I cannot figure out how to do this.
thank you!
LuckMan212
 
Posts: 133
Joined: Mon, 04 Jul 2005, 11:19

Postby VK » Wed, 06 Jul 2005, 12:11

Just read about %ExitCodeProc% in the docs. Working with variables is explained in this chapter: http://www.nncron.ru/help/EN/working/variables.htm
CU
VK
User avatar
VK
 
Posts: 680
Joined: Wed, 14 Jul 2004, 19:17

Postby LuckMan212 » Wed, 06 Jul 2005, 12:15

again, thank you I don't know how i missed this
it is exactly what I needed
LuckMan212
 
Posts: 133
Joined: Mon, 04 Jul 2005, 11:19


Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 1 guest

cron