-
R16.1 Feature request: coreconverter.exe return code for error
Please make coreconverter.exe return code be non=zero in event of error.
Currently the lack of a return code indicating error makes CoreConverter.exe not properly usable on many environment. It is standard for command-line programs to indicate errors in the return code. Since it doesn't to that, CoreConverter.exe doesn't fit properly in everything from MAKE to PowerShell.
Workaround: code a wrapper that
1 creates a unique temporary filename
2 passes it by -errorfile=
3 returns non-zero if thw temp file is non-empty
4 deletes the temp file
5 risks fail if anything goes wrong with the tempfile e.g. out of disc space.
-
Re: R16.1 Feature request: coreconverter.exe return code for error
I have just tested R16 and it does return the correct error code, 0 if no error, 1 for an error. This code was used to test:
DWORD exit_code = 0;
GetExitCodeProcess(proc.hProcess, &exit_code);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Copyright © illustrate 2023, All rights reserved