#REFACTORING by exept
class: UnixPTYStream
changed: #openPTYFor:withMode:inDirectory:
--- 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.