WindowsOS support: Nimble package listing.

This commit is contained in:
Offray Vladimir Luna Cardenas 2022-11-03 17:25:06 -05:00
parent 06b18c4e50
commit ede8bf5bd7

View File

@ -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');