I am trying to run few my external app from my test app.
Using Runprogram and flag wait_program but... pb doesn't wait for end of each app.
I am stumbled. I saw WaitProgram but it is not working.
Even start /wait app.exe (from xp shell doesn't work grrr )
runprogram and wait_program
runprogram and wait_program
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
Re: runprogram and wait_program
It works fine here. I get debug output only when i close application.
Code: Select all
RunProgram("calc.exe","","",#PB_Program_Wait)
Debug "end"Re: runprogram and wait_program
5min later, i figure out. I was using some kind of exe packer. I compiled again my external apps. Now Program_wait works.cas wrote:It works fine here. I get debug output only when i close application.Code: Select all
RunProgram("calc.exe","","",#PB_Program_Wait) Debug "end"
My guess is that every program that use some kind of loader maybe it fail width "wait" option.
I will test commands like ProgramRunning now, thx 4 listening
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
