Skip to content

Commit

Permalink
2024.08.29:
Browse files Browse the repository at this point in the history
* fixed: src/scripts/terminal/run_cmd.bat: workaround for an unexpected `callf` exit before `cmd.exe` x86 executable start up
  • Loading branch information
andry81 committed Aug 29, 2024
1 parent e50a0c0 commit a8f6392
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024.08.29:
* fixed: src/scripts/terminal/run_cmd.bat: workaround for an unexpected `callf` exit before `cmd.exe` x86 executable start up

2024.08.29:
* fixed: src/scripts/terminal/run_cmd.bat: execution fixup
* changed: ._install/script_init.bat: removed unnecessary `call` prefix in a parameter of all `callshift.bat` calls
Expand Down
5 changes: 5 additions & 0 deletions src/scripts/terminal/run_cmd.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ set CALLF_BARE_FLAGS=/load-parent-proc-init-env-vars /disable-ctrl-signals

if %FLAG_USE_X64% NEQ 0 set CALLF_BARE_FLAGS=%CALLF_BARE_FLAGS% /disable-wow64-fs-redir

rem WORKAROUND:
rem The `callf` have has a chance to close first because of slow `cmd.exe` x86 executable start up.
rem
if %FLAG_USE_X32% NEQ 0 set CALLF_BARE_FLAGS=%CALLF_BARE_FLAGS% /wait-child-first-time-timeout 10

set CALLF_BARE_FLAGS=%CALLF_BARE_FLAGS% /print-win-error-string /pipe-inout-child

rem Windows 7 and less check
Expand Down

0 comments on commit a8f6392

Please sign in to comment.