Running systrace gives the error "preexec_fn is not supported on Windows"

I am trying to use the Android Systrace function as described here and here , but when I run the command line described in the links above it gives me this error:

File "C:\Python27\lib\subprocess.py", line 664, in __init__ raise ValueError("preexec_fn is not supported on Windows " ValueError: preexec_fn is not supported on Windows platforms 

The command line described above:

 python systrace.py --time=10 -o mynewtrace.html sched gfx view wm 

I am not a python developer, so I don't have a clue about this, and google doesn't help me much, any idea?

- I start on a computer with Windows 10.

+5
source share
1 answer

I also ran into the same problem. Replace the catapult folder in your toolskit / systrace location SDK platform with the catapult folder loaded at the bottom.

https://github.com/catapult-project/catapult

+2
source

Source: https://habr.com/ru/post/1260928/


All Articles