File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rewrite-python/src/main/java/org/openrewrite/python Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ private void initializeRemoting(ExecutionContext ctx) throws IOException {
195195 (current != null ? current + File .pathSeparator : "" ) + pythonPath .stream ().map (Path ::toString ).collect (Collectors .joining (File .pathSeparator )));
196196 }
197197 File redirectTo = logFile != null ? logFile .toFile () : new File (System .getProperty ("os.name" ).startsWith ("Windows" ) ? "NULL" : "/dev/null" );
198- processBuilder .redirectOutput (redirectTo );
199- processBuilder .redirectError (redirectTo );
198+ processBuilder .redirectOutput (ProcessBuilder . Redirect . appendTo ( redirectTo ) );
199+ processBuilder .redirectError (ProcessBuilder . Redirect . appendTo ( redirectTo ) );
200200
201201 pythonProcess = processBuilder .start ();
202202 for (int i = 0 ; i < 30 && pythonProcess .isAlive (); i ++) {
You can’t perform that action at this time.
0 commit comments