matzman666 / PyPipboyApp

A platform independent and extensible unofficial Fallout 4 Pipboy Companion App
GNU General Public License v3.0
85 stars 20 forks source link

Move faulthandler to later in startup for compatibility with pythonw #22

Closed akamal closed 8 years ago

akamal commented 8 years ago

Looks like the faulthandler problem was with pythonw in general, probably due to the fact that it makes stderr and stdout null by default. Moving it to after they are redirected to a file seems to work okay for both python and pythonw (although if pythonw is started without the --stdlog argument it's going to fail, hence the try\catch).