File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -223,11 +223,13 @@ def start_server(self):
223223
224224 """
225225 python = self .python
226+ env = compas ._os .prepare_environment ()
226227
227228 try :
228229 Popen
229230 except NameError :
230231 self ._process = Process ()
232+ self ._process .StartInfo .EvironmentVariables = env
231233 self ._process .StartInfo .UseShellExecute = False
232234 self ._process .StartInfo .RedirectStandardOutput = True
233235 self ._process .StartInfo .RedirectStandardError = True
@@ -236,7 +238,6 @@ def start_server(self):
236238 self ._process .Start ()
237239 else :
238240 args = [python , '-m' , self .service , str (self ._port )]
239- env = compas ._os .prepare_environment ()
240241 self ._process = Popen (args , stdout = PIPE , stderr = STDOUT , env = env )
241242
242243 server = ServerProxy (self .address )
You can’t perform that action at this time.
0 commit comments