Calling rvio via Python subprocess causes Access is denied

I’m trying to write out the annotated frames from rv, via a Python script which invokes rvio.exe.

Like this

command_list = [
‘“C:/Program Files/open-rv/bin/rvio.exe”’,
“-v”, “-err-to-out”,
session_file_path,
“-o”, annotated_frames_filepath,
“-t”, “,”.join(frames_str)
]
import subprocess
p = subprocess.Popen(command_list)
p.wait()

But I’m getting this error

hp, ht, pid, tid = _winapi.CreateProcess(executable, args, )
PermissionsError: [WinError 5] Access is denied

How can I get around this error and export my annotated frames?