Skip to content

win32: spawn: avoid Wbad-function-cast

Instead of casting the return value of _get_osfhandle() immediately to HANDLE, check for the error cases first, and only cast to HANDLE when used in DuplicateHandle().

Merge request reports

Loading