This commit is contained in:
Miroslav Stampar 2015-05-07 12:36:23 +02:00
parent 18e62fd507
commit 4b2ff4339a

View File

@ -32,6 +32,7 @@ from lib.core.enums import PART_RUN_CONTENT_TYPES
from lib.core.exception import SqlmapConnectionException
from lib.core.log import LOGGER_HANDLER
from lib.core.optiondict import optDict
from lib.core.settings import IS_WIN
from lib.core.subprocessng import Popen
from thirdparty.bottle.bottle import error as return_error
from thirdparty.bottle.bottle import get
@ -155,7 +156,7 @@ class Task(object):
def engine_start(self):
self.process = Popen(["python", "sqlmap.py", "--pickled-options", base64pickle(self.options)],
shell=False, stdin=PIPE, close_fds=True)
shell=False, stdin=PIPE, close_fds=not IS_WIN)
def engine_stop(self):
if self.process: