Skip to content
Advertisement

How to invoke webbrowser from cgi script?

My cgi script is as follows on a Linux system with Firefox and Chrome browsers: Assume that it is a PDF file only. I need to display image files also in a browser. Not able to trace the bug.

JavaScript

Advertisement

Answer

I edited my code to work this way:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement