First version
This commit is contained in:
commit
243e92a9dd
84 files changed
+4012
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# Sends one command to the QEMU monitor: monitor.py SOCKET 'command'
|
||||
# (screendump FILE, sendkey KEY, device_add ..., quit, ...)
|
||||
import socket, sys, time
|
||||
s = socket.socket(socket.AF_UNIX)
|
||||
s.connect(sys.argv[1])
|
||||
time.sleep(0.3)
|
||||
s.recv(65536)
|
||||
s.sendall((sys.argv[2] + "\n").encode())
|
||||
time.sleep(0.5)
|
||||
Reference in new issue
Block a user