... | @@ -148,6 +148,7 @@ Thread outputThread = new Thread(() -> { |
... | @@ -148,6 +148,7 @@ Thread outputThread = new Thread(() -> { |
|
System.out.println(output.getMessage());
|
|
System.out.println(output.getMessage());
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
|
|
// The socket has terminated normally or was canceled.
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
... | @@ -180,6 +181,7 @@ def printOutput(socket): |
... | @@ -180,6 +181,7 @@ def printOutput(socket): |
|
if output:
|
|
if output:
|
|
print(output.getMessage())
|
|
print(output.getMessage())
|
|
else:
|
|
else:
|
|
|
|
# The socket has terminated normally or was canceled.
|
|
return
|
|
return
|
|
|
|
|
|
# Start the app with the OUTPUTSTREAM option.
|
|
# Start the app with the OUTPUTSTREAM option.
|
... | | ... | |