Skip to content

Commit 887f568

Browse files
committed
Be quiet when not interactive
1 parent d4b8bca commit 887f568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ protected void launch(Builder contextBuilder) {
441441
if (!noSite) {
442442
evalInternal(context, "import site\n");
443443
}
444-
if (!quietFlag) {
444+
if (!quietFlag && stdinIsInteractive) {
445445
System.err.println("Please note: This Python implementation is in the very early stages, " +
446446
"and can run little more than basic benchmarks at this point.");
447447
}

0 commit comments

Comments
 (0)