On windows, wxExecute doesn't display error output from the program. For example, I got an error pop-up for align_image_stack that shows the full command line but then just says "failed with error code: 1". When I type the command line in manually I get a reasonable error output. In my case it was:
ContractViolation:
Precondition violation!
Unable to open file '4'.
ERROR: caught exception:
Precondition violation!
Unable to open file '4'.
It would be really helpful if the error pop-up had shown this. (And also allowed me to copy the command line so I don't have to retype it from scratch.)