in reply to Re: capturing exit status of a process
in thread capturing exit status of a process

many thanks Jaap. I tried your example but i'm still getting $returnCode = 0 even though 'nmblookup' reports that it could not contact $client. Am i just reporting that 'nmblookup' itself succeeded here, not that the result of the nmblookup was a failure ?
  • Comment on Re^2: capturing exit status of a process