#FEATURE by exept
class: OSProcess
added: #commandString
comment/format in: #command
--- a/OSProcess.st Wed Aug 28 23:52:26 2019 +0200
+++ b/OSProcess.st Thu Aug 29 00:55:50 2019 +0200
@@ -390,7 +390,7 @@
!
command
- "the OS (shell-) command"
+ "the OS (shell-) command, as string or string-array"
^ command
@@ -453,6 +453,15 @@
lineWise := lineWiseArg.
!
+commandString
+ "the OS (shell-) command, as string"
+
+ command isString ifTrue:[^ command].
+ ^ command asStringWith:' '
+
+ "Created: / 10.11.1998 / 21:27:07 / cg"
+!
+
directory
"the directory where executed"