I have an argument in Python that is screwing up my subprocess() command. The argument is:
--server-args="-screen 0, 1280x800x24"
args = [
'xvfb-run',
'--server-args="-screen 0, 1280x800x24"',
'/usr/bin/python',
'/root/AdamN-python-webkit2png-3ae4322/webkit2png.py',
'-o',
filename,
url,
]
I think it's escaping the double quotes. Is there a work around for this?
-oandfilenameare different.