Add exit codes to the stand-alone Launch program

How can we make our software better?

Moderators: Tyler, Scott

Post Reply
timh
Contributor
Contributor
Posts: 24
Joined: Tue Mar 14, 2006 7:50 am

Add exit codes to the stand-alone Launch program

Post by timh »

I am trying to set up an application fronted by the stand-alone Launch program in the beta downloads and it would be really useful if you could either specify a program to run if the Disagree button is clicked or, perhaps more simply, return an errorlevel that could be used by the script I have wrapped around it.

As far as I can tell the Launch program returns an errorlevel or exit code of 0 when it exits irrespective of whether the agree or disagree button is used. Would it be possible to amend it to return a 0 for an agree, 1 for disagree and whatever seems appropriate for actual error conditions?

Thanks,

Tim

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Launch version 1.02.0, available on the Beta Downloads page, adds both suggestions.

The exit error code is as follows.

OK = 0
Cancel = 1


--Scott

timh
Contributor
Contributor
Posts: 24
Joined: Tue Mar 14, 2006 7:50 am

Post by timh »

Terrific, that does the job nicely. Thanks as always for the super rapid response.

Tim

Post Reply