Changed shell exec to CombinedOutput.