Search code examples
c#processexit-code

C#/.Net launched process with exit code -2146234327


I have a C# 4 application which launches another one to execute some Python code. The Python code can be executed with no problems (checked on PythonWin).
In my app I see that the exit code is -2146234327. I've been Googling and couldn't figure out what does it mean.
Any ideas?
Thanks


Solution

  • -2146234327 is HRESULT code, typically looked for in hex. See Interpreting HRESULTS returned from .NET/CLR: 0x8013XXXX:

    HOST_E_EXITPROCESS_TIMEOUT 0x80131029 Process exited due to Timeout escalation.