pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

Would it be possible to get stdout/stderr streamed from `pymobiledevice3 developer dvt launch`

Open WaterJuice opened this issue 7 months ago • 4 comments

With the libimobiiledevice toolset I was able to use idevicedebug to launch an app on iPhone and it would stream the stdout/stderr back while the app was running and it would also return the processes return code when it ended. I would like a way to do this now in iOS 17. I have two ways of launching an app now on iOS17.

  1. Using Xcode 15's: xcrun devicectl device process launch
  2. Using pymobiledevice3 developer dvt launch

Both work in a similar way by launching the app and then returning.

Is there a way existing that I can get stdout/stderr streaming? And if not would it be something that could be added to pymobiledevice3.

Thank you.

WaterJuice avatar Nov 13 '23 22:11 WaterJuice