We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8cee8e commit d8c7bb5Copy full SHA for d8c7bb5
Sources/ShellOut.swift
@@ -460,6 +460,7 @@ private extension Process {
460
461
if data.isEmpty { // EOF
462
logger?.info("ShellOut.launchBash: Reporting EOF on stdout (readabilityHandler, command: \(command))")
463
+ handler.readabilityHandler = nil
464
outputGroup.leave()
465
} else {
466
logger?.info("ShellOut.launchBash: Read \(data.count) bytes from stdout (readabilityHandler, command: \(command))")
@@ -477,6 +478,7 @@ private extension Process {
477
478
479
480
logger?.info("ShellOut.launchBash: Reporting EOF on stderr (readabilityHandler, command: \(command))")
481
482
483
484
outputQueue.async {
0 commit comments