IBM1130: Give notepad a chance to open its file before proceeding

This commit is contained in:
Mark Pizzolato 2017-05-12 06:21:49 -07:00
parent d0bd4fbdff
commit ab4ee75961

View file

@ -1941,6 +1941,7 @@ static t_stat view_cmd (int32 flag, CONST char *cptr)
sprintf(cmdline, "notepad %s", cptr);
WinExec(cmdline, SW_SHOWNORMAL);
Sleep(1000); /* wait a bit to allow notepad to open the file */
#endif
return SCPE_OK;
}