Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ object SparkConnectServerUtils {
if (isDebug) {
builder.redirectError(Redirect.INHERIT)
builder.redirectOutput(Redirect.INHERIT)
} else {
// If output is not consumed, the stdout/stderr pipe buffers will fill up,
// causing the server process to block on write() calls
builder.redirectError(Redirect.DISCARD)
builder.redirectOutput(Redirect.DISCARD)
}

val process = builder.start()
Expand Down