Hi @HarisIqbal88 , thank you for contributing this work!
There is a minor change. xdg-open does not ship with MacOS by default. To use it, one may need to install additional packages on Mac. However, there is an equivalent command on MacOS, which is open. The suggested change will detect the OS and decide the correct file opening command to use.
Hi @HarisIqbal88 , thank you for contributing this work!
There is a minor change.
xdg-open
does not ship with MacOS by default. To use it, one may need to install additional packages on Mac. However, there is an equivalent command on MacOS, which isopen
. The suggested change will detect the OS and decide the correct file opening command to use.