Skip to content

Commit 3deca0d

Browse files
authored
Update run_command.py
1 parent 152dbae commit 3deca0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run_command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ def get_supported_commands(vmname):
5353

5454

5555
def test(vmname):
56-
# https://qemu-project.gitlab.io/qemu/interop/qemu-ga-ref.html#qapidoc-199
57-
# guest-exec Command
5856

5957
ic(exec_shell_command(vmname, "env", [], "", ["FOO=BAR"]))
6058
ic(exec_shell_command(vmname, "uname", ["-a"]))
@@ -81,6 +79,8 @@ def exec_shell_command(vmname: str, program: str, args: list[str] = None, input_
8179
if isinstance(env, dict):
8280
env = [f"{key}={value}" for key, value in env.items()]
8381

82+
# https://qemu-project.gitlab.io/qemu/interop/qemu-ga-ref.html#qapidoc-199
83+
# guest-exec Command
8484
qemu_reply = exec_command(vmname, dict(execute="guest-exec", arguments={
8585
'path': program,
8686
"capture-output": True,

0 commit comments

Comments
 (0)