Closed luusl closed 6 days ago
Although a subprocess fails during map creation, the return code of the wahoomc process is 0, i.e. good. This PR returns the code of the subprocess in case of an error so it's possible to determine if the map creation really succeeded.
Hi @luusl, thanks for this PR! This indeed was not working OK since now because the default returned is 0 what means success (https://docs.python.org/2/library/sys.html#sys.exit). As you pointed out. 👍
0
Although a subprocess fails during map creation, the return code of the wahoomc process is 0, i.e. good. This PR returns the code of the subprocess in case of an error so it's possible to determine if the map creation really succeeded.