#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Tue, 08 Nov 2016 22:24:59 +0100
changeset 20934 36e46558156d
parent 20933 2a6274961920
child 20935 7803512423cb
#BUGFIX by cg class: ReadEvalPrintLoop changed: #cmd_edit:
ReadEvalPrintLoop.st
--- a/ReadEvalPrintLoop.st	Tue Nov 08 22:04:41 2016 +0100
+++ b/ReadEvalPrintLoop.st	Tue Nov 08 22:24:59 2016 +0100
@@ -305,10 +305,10 @@
         modifiedTime := tmpFile modificationTime.
 
         ok := OperatingSystem 
-                executeCommand:('%1 "%2" < /dev/tty' bindWith:editor with:tmpFile pathName)
-                inputFrom:Stdin 
-                outputTo:Stdout 
-                errorTo:Stderr
+                executeCommand:('%1 "%2"' bindWith:editor with:tmpFile pathName)
+                inputFrom:nil "/ Stdin 
+                outputTo:nil "/ Stdout 
+                errorTo:nil "/ Stderr
                 auxFrom:nil
                 environment:nil
                 inDirectory:nil
@@ -335,12 +335,14 @@
     ].
     
     "
+     Smalltalk readEvalPrintLoop
+
      self new 
         input:Stdin;
         cmd_edit:'MyClass foo' readStream
     "
 
-    "Modified: / 08-11-2016 / 21:49:56 / cg"
+    "Modified (comment): / 08-11-2016 / 22:24:00 / cg"
 !
 
 cmd_exit:lineStream