Merge pull request #1563 from micbou/windows-popen
Set stdin to PIPE on Windows only when necessary
This commit is contained in:
commit
d4b94ca7dc
@ -130,7 +130,8 @@ class YouCompleteMe( object ):
|
|||||||
if self._user_options[ 'server_keep_logfiles' ]:
|
if self._user_options[ 'server_keep_logfiles' ]:
|
||||||
args.append('--keep_logfiles')
|
args.append('--keep_logfiles')
|
||||||
|
|
||||||
self._server_popen = utils.SafePopen( args, stdout = PIPE, stderr = PIPE)
|
self._server_popen = utils.SafePopen( args, stdin_windows = PIPE,
|
||||||
|
stdout = PIPE, stderr = PIPE)
|
||||||
BaseRequest.server_location = 'http://127.0.0.1:' + str( server_port )
|
BaseRequest.server_location = 'http://127.0.0.1:' + str( server_port )
|
||||||
BaseRequest.hmac_secret = hmac_secret
|
BaseRequest.hmac_secret = hmac_secret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user