diff --git a/IPython/utils/_process_common.py b/IPython/utils/_process_common.py
index e352155..d01fb35 100644
--- a/IPython/utils/_process_common.py
+++ b/IPython/utils/_process_common.py
@@ -175,6 +175,7 @@ def arg_split(s, posix=False, strict=True):
     # and it shouldn't raise an exception.
     # It may be a bad idea to parse things that are not command-line args
     # through this function, but we do, so let's be safe about it.
+    lex.commenters='' #fix for GH-1269
     tokens = []
     while True:
         try: