AbstractOperatingSystem.st
changeset 24019 89ab38cd7df2
parent 24014 c8573fb77f5a
child 24108 7a3a01285e59
--- a/AbstractOperatingSystem.st	Thu Mar 28 16:20:02 2019 +0100
+++ b/AbstractOperatingSystem.st	Thu Mar 28 17:18:46 2019 +0100
@@ -1187,6 +1187,7 @@
     "Created: / 12.11.1998 / 14:39:20 / cg"
 ! !
 
+
 !AbstractOperatingSystem class methodsFor:'executing OS commands-public'!
 
 executeCommand:aCommandString
@@ -1215,6 +1216,8 @@
      OperatingSystem executeCommand:'pwd'.
      OperatingSystem executeCommand:'ls -l'.
      OperatingSystem executeCommand:#('/bin/ls' '-l') outputTo:Transcript.
+     OperatingSystem executeCommand:{OperatingSystem pathOfCommand:'powershell'} outputTo:Transcript.
+     OperatingSystem executeCommand:{OperatingSystem pathOfCommand:'powershell'. 'dir'} outputTo:Transcript.
      OperatingSystem executeCommand:'invalidCommand'.
      OperatingSystem executeCommand:'rm /tmp/foofoofoofoo'.
     "
@@ -1232,8 +1235,9 @@
      OperatingSystem executeCommand:'cc foo.c'
     "
 
-    "Modified: / 7.1.1997 / 19:29:55 / stefan"
-    "Modified: / 10.11.1998 / 20:55:37 / cg"
+    "Modified: / 07-01-1997 / 19:29:55 / stefan"
+    "Modified: / 10-11-1998 / 20:55:37 / cg"
+    "Modified (comment): / 27-03-2019 / 22:36:49 / stefan"
 !
 
 executeCommand:aCommandString errorTo:errorStream