#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sat, 05 Oct 2019 10:47:42 +0200
changeset 24820 301c642f32e7
parent 24819 8eb7de8ab3d2
child 24821 a45e3af1bbcb
#REFACTORING by exept class: OSProcess added: #command:outStream:errorStream:
OSProcess.st
--- a/OSProcess.st	Thu Oct 03 11:54:06 2019 +0200
+++ b/OSProcess.st	Sat Oct 05 10:47:42 2019 +0200
@@ -498,6 +498,15 @@
     lineWise := lineWiseArg.
 !
 
+command:commandArg outStream:outStreamArg errorStream:errorStreamArg 
+    "set the command to be executed and input/output streams.
+     See comments in individual setters for more info"
+
+    command := commandArg.
+    outStream := outStreamArg.
+    errorStream := errorStreamArg.
+!
+
 commandString
     "the OS (shell-) command, as string"