Answer the question
In order to leave comments, you need to log in
How to find out how much RAM a subprocess has used?
There is a code that launches a console application. You need to calculate how much memory the application used.
subprocess.check_output(["main.exe"], input=bytes(input_data, "utf-8"), timeout=2)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question