##// END OF EJS Templates
Fix use of sys.executable in Windows kernel launcher.
epatters -
Show More
@@ -231,7 +231,7 b' def base_launch_kernel(code, xrep_port=0, pub_port=0, req_port=0, hb_port=0,'
231 231 # If using pythonw, stdin, stdout, and stderr are invalid. Popen will
232 232 # fail unless they are suitably redirected. We don't read from the
233 233 # pipes, but they must exist.
234 redirect = PIPE if sys.executable.endswith('pythonw.exe') else None
234 redirect = PIPE if executable.endswith('pythonw.exe') else None
235 235
236 236 if independent:
237 237 proc = Popen(arguments,
General Comments 0
You need to be logged in to leave comments. Login now