From ede8bf5bd742eba206406c54394afb94264fb244 Mon Sep 17 00:00:00 2001 From: Offray Vladimir Luna Cardenas Date: Thu, 3 Nov 2022 17:25:06 -0500 Subject: [PATCH] WindowsOS support: Nimble package listing. --- src/MiniDocs/Nimble.class.st | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/MiniDocs/Nimble.class.st b/src/MiniDocs/Nimble.class.st index 572d652..407e0c7 100644 --- a/src/MiniDocs/Nimble.class.st +++ b/src/MiniDocs/Nimble.class.st @@ -42,7 +42,15 @@ Nimble class >> installPackagesList [ { #category : #accessing } Nimble class >> installed [ - | installed | + + Smalltalk os isWindows + ifTrue: [ | process | + process := GtExternalProcessBuilder new + command: 'nimble.exe'; + args: #('list' '--installed'); + output. + ^ process stdout lines ]. + OSSUnixSubprocess new command: 'nimble'; arguments: #('list' '--installed');