pywebexec 1.6.10__py3-none-any.whl → 1.6.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pywebexec/pywebexec.py +7 -4
- pywebexec/version.py +2 -2
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/METADATA +1 -1
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/RECORD +8 -8
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/LICENSE +0 -0
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/WHEEL +0 -0
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/entry_points.txt +0 -0
- {pywebexec-1.6.10.dist-info → pywebexec-1.6.11.dist-info}/top_level.txt +0 -0
pywebexec/pywebexec.py
CHANGED
@@ -330,11 +330,13 @@ def print_urls(command_id=None):
|
|
330
330
|
if token:
|
331
331
|
url_params = f"?token={token}"
|
332
332
|
if command_id:
|
333
|
-
print(f"{protocol}://{hostname}:{args.port}/dopopup/{command_id}{url_params}", flush=True)
|
334
|
-
print(f"{protocol}://{ip}:{args.port}/dopopup/{command_id}{url_params}", flush=True)
|
333
|
+
print(f"web popup: {protocol}://{hostname}:{args.port}/dopopup/{command_id}{url_params}", flush=True)
|
334
|
+
print(f"web popup: {protocol}://{ip}:{args.port}/dopopup/{command_id}{url_params}", flush=True)
|
335
|
+
print(f"raw output: {protocol}://{hostname}:{args.port}/command_output_raw/{command_id}{url_params}", flush=True)
|
336
|
+
print(f"raw output: {protocol}://{ip}:{args.port}/command_output_raw/{command_id}{url_params}", flush=True)
|
335
337
|
else:
|
336
|
-
print(f"{protocol}://{hostname}:{args.port}{url_params}", flush=True)
|
337
|
-
print(f"{protocol}://{ip}:{args.port}{url_params}", flush=True)
|
338
|
+
print(f"web commands: {protocol}://{hostname}:{args.port}{url_params}", flush=True)
|
339
|
+
print(f"web commands: {protocol}://{ip}:{args.port}{url_params}", flush=True)
|
338
340
|
|
339
341
|
|
340
342
|
def is_port_in_use(address, port):
|
@@ -813,6 +815,7 @@ def get_command_output_raw(command_id):
|
|
813
815
|
yield chunk
|
814
816
|
status = read_command_status(command_id)
|
815
817
|
if not status or status['status'] != 'running':
|
818
|
+
yield f"\nEnd of command {command_id} {status.get('status', '')} exit: {status.get('exit_code')}\n"
|
816
819
|
break
|
817
820
|
except GeneratorExit:
|
818
821
|
return
|
pywebexec/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
|
2
|
-
pywebexec/pywebexec.py,sha256=
|
3
|
-
pywebexec/version.py,sha256=
|
2
|
+
pywebexec/pywebexec.py,sha256=CLHDHDkgsftj8VWKp6ofnUgM8oQf8rvCvROlnljP4ow,32577
|
3
|
+
pywebexec/version.py,sha256=fbMgF3ll0MwJN-g_yFfiW2LYnfAEawaw32LMtGtBPy8,413
|
4
4
|
pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
|
5
5
|
pywebexec/static/css/style.css,sha256=MJHUBpjWL4sLxM7a7DxypmPKaFJQbmA_ESNXsbLviNI,8201
|
6
6
|
pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
|
@@ -33,9 +33,9 @@ pywebexec/static/js/xterm/xterm.js.map,sha256=Y7O2Pb-fIS7Z8AC1D5s04_aiW_Jf1f4mCf
|
|
33
33
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
34
|
pywebexec/templates/index.html,sha256=5h8kLyzAhbvUDU9sEwrGIvD6FxAMcDZLXlN-ldlO8KU,2880
|
35
35
|
pywebexec/templates/popup.html,sha256=3ZqQcE9mYs-RXv0Lfb24zntOlvR137ZYI9mtCZNVAo0,1407
|
36
|
-
pywebexec-1.6.
|
37
|
-
pywebexec-1.6.
|
38
|
-
pywebexec-1.6.
|
39
|
-
pywebexec-1.6.
|
40
|
-
pywebexec-1.6.
|
41
|
-
pywebexec-1.6.
|
36
|
+
pywebexec-1.6.11.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
37
|
+
pywebexec-1.6.11.dist-info/METADATA,sha256=Do6KMuv1dJL4UjCD-ypdImK1RMOxiGRBnDC0u6uNPoM,7974
|
38
|
+
pywebexec-1.6.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
39
|
+
pywebexec-1.6.11.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
40
|
+
pywebexec-1.6.11.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
41
|
+
pywebexec-1.6.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|