Add exit codes to the stand-alone Launch program

How can we make our software better?

Moderators: Tyler, Scott

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

Add exit codes to the stand-alone Launch program

Postby timh » Thu Aug 23, 2012 2:53 am

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: 2350
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Postby Scott » Thu Aug 23, 2012 10:16 am

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: 21
Joined: Tue Mar 14, 2006 7:50 am

Postby timh » Fri Aug 24, 2012 10:05 am

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

Tim


Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest