fix: use sshx --quiet instead of sshx serve
This commit is contained in:
parent
ca65ffb2cb
commit
dbaa655a9e
|
|
@ -61,9 +61,9 @@ def _run_sshx(tool_ctx):
|
||||||
tool_ctx.yield_result({"status": "error", "message": "Failed to install sshx"})
|
tool_ctx.yield_result({"status": "error", "message": "Failed to install sshx"})
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.info("Starting sshx serve...")
|
logger.info("Starting sshx...")
|
||||||
_sshx_process = subprocess.Popen(
|
_sshx_process = subprocess.Popen(
|
||||||
["sshx", "serve"],
|
["sshx", "--quiet"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
text=True,
|
text=True,
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ async def start_sshx():
|
||||||
|
|
||||||
# Start sshx serve
|
# Start sshx serve
|
||||||
_sshx_process = subprocess.Popen(
|
_sshx_process = subprocess.Popen(
|
||||||
["sshx", "serve"],
|
["sshx", "--quiet"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
text=True,
|
text=True,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue