This commit is contained in:
2026-02-24 23:28:18 +01:00
parent 8fb7cca9c2
commit 177829ccb6
4 changed files with 90 additions and 23 deletions

View File

@@ -10,6 +10,7 @@
mktable
simple-row-formatter
while
open-file-manager
)
@@ -70,5 +71,11 @@
)
)
(define (open-file-manager path)
(let ((folder (if (path? path) (path->string path) path)))
(case (system-type 'os)
[(windows) (process (string-append "explorer.exe " folder))]
[(macosx) (process (string-append "open " folder))]
[else (process (string-append "xdg-open " folder))]))
)