#REFACTORING by exept
class: OSProcess
added: #command:directory:outStream:errorStream:
--- 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.