Problem of "hanging" ended programs solved!!
Posted: Wed Nov 15, 2006 12:20 pm
Know the problem if you start a program out of your's with RunProgram and it doesn't disappear from the processlist though it has already ended??
Here's the reason why and the solution:
The called program wants to return a ReturnCode to the caller, even if you didn't use End RC to finish it (!!), and this ReturnCode HAS TO BE read. So just use the command ProgramExitCode(program) to read it and the called program/process is happy with that and will go away for sure.
Greetz, Didelphodon.
Here's the reason why and the solution:
The called program wants to return a ReturnCode to the caller, even if you didn't use End RC to finish it (!!), and this ReturnCode HAS TO BE read. So just use the command ProgramExitCode(program) to read it and the called program/process is happy with that and will go away for sure.
Greetz, Didelphodon.