Lprun.exe exit code is always zero for async query
Options
It happens both for LINQPad 5 and 7.
Repro query:
async Task<int> Main() { await Task.Yield(); return 144; }
When executed in Lprun will result in exit code equal 0. Only throwing errors changes the exit code.
Comments
-
Yep, just ran into the same issue
-
This will be fixed in the next LINQPad 8 release.
-
Oh, nice Joe. Many thanks