only using pythonw if it exists