add webssh
This commit is contained in:
parent
9bd152b587
commit
7cccf49e00
4
app.py
4
app.py
@ -2,6 +2,10 @@ from flask import Flask, send_file, jsonify, request
|
|||||||
import db
|
import db
|
||||||
import os
|
import os
|
||||||
from werkzeug.utils import secure_filename
|
from werkzeug.utils import secure_filename
|
||||||
|
from subprocess import Popen, PIPE
|
||||||
|
|
||||||
|
process = Popen(['wssh','--fbidhttp=False'], stdout=PIPE, stderr=PIPE)
|
||||||
|
process.communicate()
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['UPLOAD_FOLDER'] = "configs/squash"
|
app.config['UPLOAD_FOLDER'] = "configs/squash"
|
||||||
|
@ -5,3 +5,4 @@ Jinja2==3.1.2
|
|||||||
MarkupSafe==2.1.2
|
MarkupSafe==2.1.2
|
||||||
psycopg2-binary==2.9.6
|
psycopg2-binary==2.9.6
|
||||||
Werkzeug==2.2.3
|
Werkzeug==2.2.3
|
||||||
|
webssh
|
||||||
|
Loading…
Reference in New Issue
Block a user