Added in support to grab the exitcode
(If you wait too long to get it though, SLURM on
Stampede will have the code no longer available...
not sure of the best way of handling it)