#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sat, 05 Oct 2019 10:49:52 +0200
changeset 24822 24ceeb53827e
parent 24821 a45e3af1bbcb
child 24823 ff0c79c82ca2
#REFACTORING by exept class: OSProcess added: #command:directory:outStream:errorStream:
OSProcess.st
--- a/OSProcess.st	Sat Oct 05 10:47:58 2019 +0200
+++ b/OSProcess.st	Sat Oct 05 10:49:52 2019 +0200
@@ -450,6 +450,19 @@
     directory := stringOrFilenameArg.
 !
 
+command:commandArg directory:directoryArg outStream:outStreamArg errorStream:errorStreamArg 
+    "set the command to be executed & directory, where to execute.
+     and output/error streams.
+     See comments in individual setters for more info"
+
+    command := commandArg.
+    directory := directoryArg.
+    outStream := outStreamArg.
+    errorStream := errorStreamArg.
+
+
+!
+
 command:commandArg environment:environmentArg directory:directoryArg inStream:inStreamArg outStream:outStreamArg errorStream:errorStreamArg 
     "set the command to be executed & directory, where to execute.
      and input/output streams.