Tolgar
asked on
Why doesn't xdg-open work in Perl on Unix without issues?
Hi,
I use xgd-open to open a web page in Perl in Unix platform.
It works fine but I see the following message on the shell where I run my Perl code:
This is how I run this command in Perl:
I use xgd-open to open a web page in Perl in Unix platform.
It works fine but I see the following message on the shell where I run my Perl code:
<unknown program name>(14582)/ ClientApp::doIt: Creating ClientApp
kioclient(14582) ClientApp::kde_open: KUrl("/path/to/the/file.html")
This is how I run this command in Perl:
`xdg-open "$path2Report"`;
ASKER
Thanks, I will try it.
ASKER
Hi Wilcoxon,
I tried it but it didn't work.
How can I suppress this error in a different way?
Thanks,
I tried it but it didn't work.
How can I suppress this error in a different way?
Thanks,
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I used this instead and it works now:
`xdg-open "$path2Report" > /dev/null 2>&1`;
`xdg-open "$path2Report" > /dev/null 2>&1`;
Open in new window