Starting ycmd without shell = True

This should make it easier to shut down the server on some machines.

Fixes #577.
This commit is contained in:
Strahinja Val Markovic 2013-10-09 16:59:48 -07:00
parent 70a51be209
commit a25ed01a7c

View File

@ -87,8 +87,7 @@ class YouCompleteMe( object ):
with open( self._server_stdout, 'w' ) as fstdout: with open( self._server_stdout, 'w' ) as fstdout:
self._server_popen = subprocess.Popen( command, self._server_popen = subprocess.Popen( command,
stdout = fstdout, stdout = fstdout,
stderr = fstderr, stderr = fstderr )
shell = True )
def CreateCompletionRequest( self, force_semantic = False ): def CreateCompletionRequest( self, force_semantic = False ):