#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sat, 05 Oct 2019 11:20:30 +0200
changeset 5222 0a8e81e05775
parent 5221 c485f62cfdc7
child 5223 94415e3adba0
#REFACTORING by exept class: UnixPTYStream changed: #openPTYFor:withMode:inDirectory:
UnixPTYStream.st
--- a/UnixPTYStream.st	Sat Oct 05 11:00:50 2019 +0200
+++ b/UnixPTYStream.st	Sat Oct 05 11:20:30 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1998 by eXept Software AG
               All Rights Reserved
@@ -216,12 +214,9 @@
     env at:'TERM'  put:'dumb'.
     env at:'SHELL' put:'/bin/sh'.
 
-    osProcess := OSProcess new 
-                    command:aCommandString directory:aDirectory;
-                    environment:env;
-                    inStream:remotePipeEnd;
-                    outStream:remotePipeEnd;
-                    errorStream:remotePipeEnd.
+    osProcess := OSProcess new. 
+    osProcess command:aCommandString environment:env directory:aDirectory
+              inStream:remotePipeEnd outStream:remotePipeEnd errorStream:remotePipeEnd.
 
     result := osProcess startProcess.