Suppress Finder Opening When Launching a FolderItem?

In my health card reader app, I receive gzipped XMLs which I want to decode.
I found the easiest method to be FolderItem.Launch, which works good but even with an additional False for Activate this will always make Finder open a window showing the Temporary Folder where I decompress the file.
Is there any way to suppress Finder’s reaction? Or is using a plugin the only possibility? (Thomas Tempelmann’s zip project does not work with these gzips.)

Applescript?

do shell script "/usr/bin/ditto -xk " & sourceZipArchive & space & DestinationDirectory

or just run that in a shell directly

Thank you both! Running in a shell sounds promising – while this is currently a Mac app, it should sooner or later work under Windows too, and the client would like to avoid using Plugins.

windows you can use the explorer from the cmd line

I posted a link to the MS docs other day
https://forum.xojo.com/conversation/post/334358

This is just for showing a file but I’m sure there a cmd line way of getting a file to unzip as well

Oh my! What answer should I check as the right one now? :wink:

Thanks again!

Several right answers below:

[quote]Applescript?
do shell script "/usr/bin/ditto -xk " & sourceZipArchive & space & DestinationDirectory[/quote]

[quote]windows you can use the explorer from the cmd line

I posted a link to the MS docs other day
https://forum.xojo.com/conversation/post/334358[/quote]