pyinstaller: 2 instances of my cherrypy app exe get executed.
Posted
by d.c
on Stack Overflow
See other posts from Stack Overflow
or by d.c
Published on 2010-01-23T20:34:54Z
Indexed on
2010/03/18
19:01 UTC
Read the original article
Hit count: 491
I have a cherrypy app that I've made an exe with pyinstaller. now when I run the exe it loads itself twice into memory. Watching the taskmanager shows the first instance load into about 1k, then a second later a second instance of hte exe loads into about 3k ram. If I close the bigger one both processes die. If I close hte smaller one only that one dies.
Loading the exe with subprocess, if I try to proc.kill(), it only kills the small one leaving the other running in memory. Is this a sideeffect of using cherrypy and pyinstaller together?
© Stack Overflow or respective owner