nadment commented on issue #6564:
URL: https://github.com/apache/hop/issues/6564#issuecomment-3938730477

   It's convenient and works on Windows OS, but need help testing the command 
on other operating systems?
   
   <img width="296" height="236" alt="Image" 
src="https://github.com/user-attachments/assets/14c960cc-5a8d-44f6-bbf1-fa202a1169ad";
 />
   
   ```
   if (OsHelper.isWindows()) {
       // Open file explorer based on OS and select the file
       Runtime.getRuntime().exec("explorer.exe  /select," + tif.path);
   } else if (OsHelper.isMac()) {
       Runtime.getRuntime().exec("open -R " + tif.path);
   } else {
      Runtime.getRuntime().exec("xdg-open " + tif.path);
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to