add global WINDOWS bool

This commit is contained in:
Mike Fährmann
2020-05-19 21:42:11 +02:00
parent 6294e2c540
commit c8787647ed
6 changed files with 11 additions and 13 deletions

View File

@@ -11,10 +11,9 @@
from .common import PostProcessor
from .. import util
import subprocess
import os
if os.name == "nt":
if util.WINDOWS:
def quote(s):
return '"' + s.replace('"', '\\"') + '"'
else: