Fix for an Issue #851

This commit is contained in:
Miroslav Stampar 2014-10-10 10:38:17 +02:00
parent d4610890ca
commit 2aadfc0fd3

View File

@ -164,8 +164,8 @@ class Task(object):
shutil.rmtree(self.output_directory)
def engine_start(self):
self.process = Popen("python sqlmap.py --pickled-options %s" % base64pickle(self.options),
shell=True, stdin=PIPE, close_fds=False)
self.process = Popen(["python", "sqlmap.py", "--pickled-options", base64pickle(self.options)],
shell=False, stdin=PIPE, close_fds=False)
def engine_stop(self):
if self.process: