Skip to content

Commit 4640d61

Browse files
committed
Output back to console for python & pip
1 parent 508f6b8 commit 4640d61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sessions/MCPSession.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ - (bool)executeCommand:(int)argc argv:(char **)argv {
318318
FILE* saved_out = stdout;
319319
FILE* saved_err = stderr;
320320
stdin = _stream.in;
321-
if ((strcmp(argv[0], "python") != 0) && (strcmp(argv[0], "pip") != 0) && (strcmp(argv[0], "jupyter-notebook") != 0)) {
321+
// Experimental development
322+
if (strcmp(argv[0], "jupyter-notebook") != 0) {
322323
stdout = _stream.out;
323324
stderr = stdout;
324325
}

0 commit comments

Comments
 (0)