eric pouech (@epo) commented about programs/cmd/wcmdmain.c:
if (!context) WCMD_output_asis( WCMD_LoadMessage(WCMD_MOREPROMPT)); if (!WCMD_fgets(extraData, MAXSTRING, readFrom)) { /* EOF in parentheses - abort don't execute block */
/* caret followed by EOF - execute line */
I wonder if this part is actually covered by your tests (not sure it should as it requires to have the exact right length before) so I wonder if native cmd has the same behavior