Skip to content

Commit

Permalink
Fixed: Run compiled exe
Browse files Browse the repository at this point in the history
  • Loading branch information
XusinboyBekchanov committed Apr 14, 2022
1 parent 68beeff commit 6446780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TabWindow.bas
Original file line number Diff line number Diff line change
Expand Up @@ -7009,6 +7009,7 @@ Sub RunPr(Debugger As String = "")
SInfo.dwFlags = STARTF_USESHOWWINDOW
SInfo.wShowWindow = SW_NORMAL
pClass = CREATE_UNICODE_ENVIRONMENT Or CREATE_NEW_CONSOLE
ChDir(GetFolderName(*ExeFileName))
If CreateProcessW(NULL, CmdL, ByVal Null, ByVal Null, False, pClass, Null, Workdir, @SInfo, @PInfo) Then
WaitForSingleObject pinfo.hProcess, INFINITE
GetExitCodeProcess(pinfo.hProcess, @ExitCode)
Expand Down

0 comments on commit 6446780

Please sign in to comment.