frontend: return instead of exit
This commit is contained in:
parent
7317f9e3a7
commit
f452ca226e
@ -21,7 +21,8 @@
|
||||
# SOFTWARE.
|
||||
#
|
||||
|
||||
import sys
|
||||
import stcgal.frontend
|
||||
|
||||
if __name__ == "__main__":
|
||||
stcgal.frontend.cli()
|
||||
sys.exit(stcgal.frontend.cli())
|
||||
|
@ -152,4 +152,4 @@ def cli():
|
||||
|
||||
# run programmer
|
||||
gal = StcGal(opts)
|
||||
sys.exit(gal.run())
|
||||
return gal.run()
|
||||
|
Loading…
Reference in New Issue
Block a user