mirror of
https://gitlvb.teallvbs.xyz/IQ.Lvbs/IQ.Pilot.git
synced 2026-09-10 15:53:41 +08:00
13 lines
261 B
Python
Executable File
13 lines
261 B
Python
Executable File
#!/usr/bin/env python3
|
|
import subprocess
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
from iqpilot.common.prefix import OpenpilotPrefix
|
|
|
|
command = [str(Path(sys.argv[1]).resolve()), *sys.argv[2:]]
|
|
with OpenpilotPrefix():
|
|
ret = subprocess.call(command)
|
|
|
|
sys.exit(ret)
|