summaryrefslogtreecommitdiff
path: root/pylint/epylint.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/epylint.py')
-rwxr-xr-xpylint/epylint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/epylint.py b/pylint/epylint.py
index 4f7c2ae77..e5398b2d5 100755
--- a/pylint/epylint.py
+++ b/pylint/epylint.py
@@ -139,7 +139,7 @@ def py_run(command_options='', return_std=False, stdout=None, stderr=None):
"""
# Create command line to call pylint
epylint_part = [sys.executable, "-c", "from pylint import epylint;epylint.Run()"]
- options = shlex.split(command_options)
+ options = shlex.split(command_options, posix=not sys.platform.startswith('win'))
cli = epylint_part + options
# Providing standard output and/or error if not set