Return valuse from ext. program

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Return valuse from ext. program

Post by fve »

Hello

I made some external test programs coded in C#, work nice.

When using script it's possible to return with some nice information in the "reply" on hm.
If using external test you must return an exit code as type int. Yes it's normal exit code. But if returning with a console.writeline and sending the same as a vb.script it will be nice
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may use Shell Script test method to execute external programs as well. In such case your program may (and should) return test status and reply value.
http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell

Regards
Alex
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Post by fve »

Thanks for the hints, it run like you describe :D
Post Reply