#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sun, 04 Nov 2018 20:16:16 +0100
changeset 23505 54b7a8af8117
parent 23504 2612ba8e3de4
child 23506 757d14838de2
#FEATURE by cg class: OSProcess added: #command:environment:directory:inStream:outStream:errorStream:
OSProcess.st
--- a/OSProcess.st	Sun Nov 04 20:12:13 2018 +0100
+++ b/OSProcess.st	Sun Nov 04 20:16:16 2018 +0100
@@ -391,6 +391,21 @@
     directory := stringOrFilenameArg.
 !
 
+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.
+     See comments in individual setters for more info"
+
+    command := commandArg.
+    environment := environmentArg.
+    directory := directoryArg.
+    inStream := inStreamArg.
+    outStream := outStreamArg.
+    errorStream := errorStreamArg.
+
+    "Created: / 04-11-2018 / 18:28:24 / Claus Gittinger"
+!
+
 command:commandArg environment:environmentArg directory:directoryArg inStream:inStreamArg outStream:outStreamArg errorStream:errorStreamArg auxStream:auxStreamArg showWindow:showWindowArg lineWise:lineWiseArg 
     "set the command to be executed & directory, where to execute.
      and input/output streams.