Closed SGSSGene closed 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.
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.