#DOCUMENTATION by stefan
authorStefan Vogel <sv@exept.de>
Fri, 24 Jun 2016 18:03:12 +0200
changeset 20031 8de79de4b866
parent 20030 93008997c59e
child 20032 68dbfb9bf2c1
#DOCUMENTATION by stefan class: PipeStream comment/format in: #shutDown
PipeStream.st
--- 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"