Fixed a crash when exec() is called before wait()
Fixed a crash when exec() is called before wait()

BiuroCo/mega,Alexx99/sdk,Novo1987/sdk,SuperStarPL/sdk,Acidburn0zzz/sdk,meganz/sdk,18671178307/sdk,PatrickJBaird/sdk,javiserrano/sdk,sergiohs84/sdk,javiserrano/sdk,jedisct1/sdk,meganz/sdk,SuperStarPL/sdk,Novo1987/sdk,BlackFired/sdk,Novo1987/sdk,BiuroCo/mega,sergiohs84/sdk,jedisct1/sdk,PatrickJBaird/sdk,meganz/sdk,BiuroCo/mega,SuperStarPL/sdk,jedisct1/sdk,Novo1987/sdk,jedisct1/sdk,Acidburn0zzz/sdk,18671178307/sdk,SuperStarPL/sdk,BiuroCo/mega,BlackFired/sdk,18671178307/sdk,javiserrano/sdk,18671178307/sdk,18671178307/sdk,jedisct1/sdk,Acidburn0zzz/sdk,Novo1987/sdk,Novo1987/sdk,sergiohs84/sdk,Acidburn0zzz/sdk,18671178307/sdk,Alexx99/sdk,Sisky/sdk,PatrickJBaird/sdk,sergiohs84/sdk,sergiohs84/sdk,meganz/sdk,javiserrano/sdk,javiserrano/sdk,meganz/sdk,18671178307/sdk,jedisct1/sdk,Acidburn0zzz/sdk,Sisky/sdk,meganz/sdk,Novo1987/sdk,PatrickJBaird/sdk,BlackFired/sdk,Acidburn0zzz/sdk,Alexx99/sdk,BiuroCo/mega,jedisct1/sdk,18671178307/sdk,sergiohs84/sdk,Alexx99/sdk,PatrickJBaird/sdk,jedisct1/sdk,Alexx99/sdk,Sisky/sdk,Alexx99/sdk,SuperStarPL/sdk,Sisky/sdk,sergiohs84/sdk,Acidburn0zzz/sdk,BlackFired/sdk,Sisky/sdk,BlackFired/sdk,Acidburn0zzz/sdk,javiserrano/sdk,Sisky/sdk,BiuroCo/mega,meganz/sdk,SuperStarPL/sdk,Novo1987/sdk,sergiohs84/sdk,BlackFired/sdk,PatrickJBaird/sdk