mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
10 lines
189 B
Python
10 lines
189 B
Python
|
|
"""Phase 21 — python-socketio benign control."""
|
||
|
|
import os
|
||
|
|
import shlex
|
||
|
|
|
||
|
|
_NYX_ADAPTER_MARKER = "import socketio"
|
||
|
|
|
||
|
|
|
||
|
|
def message(sid, data):
|
||
|
|
os.system("echo " + shlex.quote(str(data)))
|