eaasna / valik

Local sequence similarity search tool
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

fix: return status in external_process is now parsed correctly #84

Closed SGSSGene closed 1 year ago

SGSSGene commented 1 year ago

Parsing the return status can't just be done by shifting 8bits, but must also be masked with 0xff. The correct way of doing it, is using "WEXITSTATUS" which does exactly this.