diff --git a/app/views.py b/app/views.py index 4ea21d3..53dab93 100644 --- a/app/views.py +++ b/app/views.py @@ -145,7 +145,7 @@ def upload_file(): filepath = os.path.join(current_app.config['UPLOAD_FOLDER'], filename) file.save(filepath) - subprocess.Popen(["./avred.py", "--server", "amsi", "--file", filepath, "--logtofile" ]) + subprocess.Popen(["./avred.py", "--server", "amsi", "--file", filepath, "--logtofile" ], shell=True) return redirect(url_for('views.view_file', filename=filename))