title: How to return exit code after running an exe?
body: <p>I have created a Console application for validating a function and this application i need to execute by using vbscript. After executing this exe i want to return an exit code whether the function  return success or not. How can i return a status or exit code in .net?</p>