lprun.exe returns errorlevel (exit code) 0 when the file doesn't exist

I run lprun.exe in a batch file and check ERRORLEVEL to make sure the LINQPad snippet ran successfully. To my surprise, it returns 0 when the specified LINQPad snippet doesn't exist. I suggest it returns a non-zero code here, since it didn't successfully do what was requested.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!