[ANSWERED] Technical question about RunProgram() and related functions
Posted: Fri Feb 16, 2024 2:43 pm
Hello,
I'm writing a single procedure that handles a few commands (a, x and l) of 7z.exe for the exploitation of more than 100k archives.
There's a question on my mind: Does multiplying the test lines within a 'While ProgramRuning()' and processing the retrieved strings with ReadProgramString() somehow slow down the execution of 7z and, more generally, any program run in this way?
I'm wondering whether I should create a procedure for each type of 7z command (with redundant tests and processing) or a single procedure with all the tests and processing.
As you can see, the aim of all this is to make the procedure(s) run as quickly as possible.
Thanks.
I'm writing a single procedure that handles a few commands (a, x and l) of 7z.exe for the exploitation of more than 100k archives.
There's a question on my mind: Does multiplying the test lines within a 'While ProgramRuning()' and processing the retrieved strings with ReadProgramString() somehow slow down the execution of 7z and, more generally, any program run in this way?
I'm wondering whether I should create a procedure for each type of 7z command (with redundant tests and processing) or a single procedure with all the tests and processing.
As you can see, the aim of all this is to make the procedure(s) run as quickly as possible.
Thanks.