The current code fails when the first stderr line doesn't match the given regex to parse the PID. This patch changes the code to read the first 10 lines before giving up. It also adds tracing for the simctl commands.
The current code fails when the first stderr line doesn't match the given regex to parse the PID. This patch changes the code to read the first 10 lines before giving up. It also adds tracing for the simctl commands.