Hello,
I’m using batch file to call slicer scriptable module , what i need is after completion of task or failure due to error that error should come in CMD.
Can you please help in this ??
Thanks,
Hello,
I’m using batch file to call slicer scriptable module , what i need is after completion of task or failure due to error that error should come in CMD.
Can you please help in this ??
Thanks,
Most scripted modules are meant to be used interactively so their widget code generates error dialogs or other progress that may not be easy to use in batch mode. Best practice would be for the scripted module logic to provide a non-gui api that would return error codes, etc and that would be better to use in a batch mode. Not all scripted modules strictly follow that pattern, but if you find places where refactoring functionality into logic classes would be useful you could consider implementing contributing those changes.