IBM1130: Give notepad a chance to open its file before proceeding
This commit is contained in:
parent
d0bd4fbdff
commit
ab4ee75961
1 changed files with 1 additions and 0 deletions
|
@ -1941,6 +1941,7 @@ static t_stat view_cmd (int32 flag, CONST char *cptr)
|
||||||
|
|
||||||
sprintf(cmdline, "notepad %s", cptr);
|
sprintf(cmdline, "notepad %s", cptr);
|
||||||
WinExec(cmdline, SW_SHOWNORMAL);
|
WinExec(cmdline, SW_SHOWNORMAL);
|
||||||
|
Sleep(1000); /* wait a bit to allow notepad to open the file */
|
||||||
#endif
|
#endif
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue