Nmap Development mailing list archives

Re: Zenmap not terminating properly on Windows


From: David Fifield <david () bamsoftware com>
Date: Wed, 19 Aug 2009 21:49:46 -0600

On Wed, Aug 19, 2009 at 09:22:08PM -0500, Lane Christiansen wrote:
On Wed, Aug 19, 2009 at 6:56 PM, David Fifield<david () bamsoftware com> wrote:
Does someone have an idea of how to solve this? Is there a Python way to
run a terminal program without opening a terminal window? To see what I
mean, edit zenmapCore/NmapCommand.py and change the line

shell_state = (sys.platform == "win32")

to

shell_state = True

I think you just change the extension from ".py" to ".pyw". I think.

Thanks for the suggestion, but I may not have been clear. I don't mean
running a Python program without a terminal window, but running nmap.exe
from a Python program using the subprocess module.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: