AbstractFileBrowser.st
branchjv
changeset 16104 ecc764285f6f
parent 16093 a0705d7461fd
parent 16102 712049dd76a8
child 16168 71fa776ca1bb
--- a/AbstractFileBrowser.st	Thu Feb 04 06:58:23 2016 +0100
+++ b/AbstractFileBrowser.st	Fri Feb 05 06:51:54 2016 +0100
@@ -4378,19 +4378,21 @@
     nameString := aString ? 'Execution Result'.
     appl changeTabTo:nameString.
 
-    process := [ 
-                    [aBlock value:stream] 
-                    ensure:[
-                        self backgroundProcesses remove:process ifAbsent:[].
-                        appl process value:nil.
-
-                        "/ close automatically, if there was no output.
+    process := 
+        [ 
+            [aBlock value:stream] 
+            ensure:[
+                self backgroundProcesses remove:process ifAbsent:[].
+                appl process value:nil.
+
+                "/ close automatically, if there was no output.
 "/                        appl resultStream contents isEmpty ifTrue:[
 "/                            appl doClose.
 "/                        ]
-                        stream nextPutLine:'Done.'
-                    ]
-               ] newProcess.
+                stream nextPutLine:'Done.'.
+                self enqueueMessage:#updateCurrentDirectory.
+            ]
+        ] newProcess.
     process priority:(Processor userBackgroundPriority).
     process name:nameString.
     self backgroundProcesses add:process.