virtualxdemo/fmvdemo.py

5 lines
193 B
Python
Raw Normal View History

2021-07-02 16:49:30 +02:00
bashcommand = "ffplay -autoexit -window_title FMV-demo fish.ogv"
import subprocess
process = subprocess.Popen(bashcommand.split(), stdout=subprocess.PIPE)
output, error = process.communicate()