running external processes // executando processos externos

66 views
Skip to first unread message

Ronaldo Geniais

unread,
Feb 5, 2026, 6:41:04 PM (9 days ago) Feb 5
to Harbour Minigui
I have an app that runs a PowerShell cmd,
I create a variable containing the execution string and
run it with
hb_processRun(cCmd)
it works fine, but it opens the PowerShell window and closes,
I tried several ways to hide the PowerShell window but
it doesn't work.
ChatGPT says to replace HB_PROCESSRUN() with
HB_WINEXEC() or WNEXEC(), but I couldn't find that,
does anyone have a tip for this?



Tenho um app que executa um cmp powershell,
eu crio uma variavel contendo a string de execucao e
executo com 
hb_processRun( cCmd )
funciona bem,  porem abre a janela do powershell e fecha,
eu tentei de varias formas ocultar a janela do powershell mas
nao funciona.
O  ChatGPD  diz  para trocar HB_PROCESSRUN() por
HB_WINEXEC()  OU WNEXEC()  ,  mas nao encontrei isso,
alguem tem uma dica para isso ?

Davisson Nunes De Magalhães

unread,
Feb 6, 2026, 9:45:49 AM (8 days ago) Feb 6
to Harbour Minigui
Reply all
Reply to author
Forward
0 new messages