Windows popup when loading trace from python script

8 views
Skip to first unread message

J H

unread,
Dec 5, 2024, 4:09:16 PM12/5/24
to Perfetto Development - www.perfetto.dev
Prob. something simple though is there a way to not have this window shell popup? we are trying to run the python API as part of other tool.

Thanks
Jay
Capture.JPG

Lalit Maganti

unread,
Dec 5, 2024, 4:12:33 PM12/5/24
to J H, Perfetto Development - www.perfetto.dev
Huh this wasn't aware this was something which happened on windows. First time I've heard of anyone reporting this. It doesn't happen on other oses for sure. 

Not sure if there's some way to make subprocesses not show a command line window: that's really what you are looking for here. Trace processor is spawned as a subprocess and is used to perform all the SQL querying. 

I'm not sure there's an easy workaround for this, maybe you can search to see if there is? 

--
You received this message because you are subscribed to the Google Groups "Perfetto Development - www.perfetto.dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfetto-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/perfetto-dev/d0b63138-803b-42b3-9b7b-118b699eb2e3n%40googlegroups.com.

J H

unread,
Dec 5, 2024, 6:36:26 PM12/5/24
to Perfetto Development - www.perfetto.dev
Thank you for fast reply!  It turns out this window only shown when pythonw is being as exe. Running python.exe + CreateNoWindow solves this issue!
Reply all
Reply to author
Forward
0 new messages