--- a/PipeStream.st Fri Jun 24 17:53:49 2016 +0200
+++ b/PipeStream.st Fri Jun 24 18:03:12 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -218,7 +220,7 @@
|p|
p := PipeStream bidirectionalFor:'cat -u'.
- p nextPutAll:'Wer ist der Bürgermeister von Wesel'; cr.
+ p nextPutAll:'Wer ist der Bürgermeister von Wesel'; cr.
Transcript showCR:p nextLine.
p close
"
@@ -486,14 +488,13 @@
shutDown
"close the Stream and terminate the command"
- self unregisterForFinalization
- "terminate first under windows".
+ self unregisterForFinalization.
"terminate first under windows"
OperatingSystem isMSDOSlike ifTrue:[
- self terminatePipeCommand.
- self closeFileDescriptor.
- ^ self.
+ self terminatePipeCommand.
+ self closeFileDescriptor.
+ ^ self.
].
"terminate last under unix"