Open PDF files on desktop

I need to open a pdf file  in macOS Desktop.

I haven’t found any thing that works, I have tried to spawn adobe using os.execute… no luck, the webView doesn’t seem to do it.

Has anyone found a way to do this?

I am working a pdf image converter plugin. I will try to bring it to mac 

https://www.youtube.com/watch?v=qgEkYVWgHos

Thanks Scott, looks great !

This might help someone else :

My workaround is :

system.openURL( “file:///”…pathtofile…"/filename.pdf" )

I am working a pdf image converter plugin. I will try to bring it to mac 

https://www.youtube.com/watch?v=qgEkYVWgHos

Thanks Scott, looks great !

This might help someone else :

My workaround is :

system.openURL( “file:///”…pathtofile…"/filename.pdf" )