mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Python 3 str() is a unicode already, so can't be decoded. subprocess.Popen needs to be in text mode (universal_newlines is the oldest compatible kwarg for this) in order to do line-based buffering. In general, all the filesystem encoding stuff we were doing is done by Python itself now.
Every script under this directory is supposed to be executed from the top of the source tree. Don't get into this directory, nor any other under this one to execute any of the scripts, or they're not going to work as expected. This is a description of the scripts in this directory and its subdirectories. macosx: Files and scripts used to build Mac OS X packages. See macosx/README for a description of the files in this directory. utils/version_update.py: Updates the Zenmap version number everywhere it needs to be. windows/copy_and_compile.bat: Builds a Windows executable using py2exe. windows/nmap-eye.ico: An icon used on Windows.