in reply to running system commands from a CGI script

Of course it is possible

.. like exec"notepad"

No. notepad is a GUI program and CGIs only runs CLI programs.

  • Comment on Re: running system commands from a CGI script

Replies are listed 'Best First'.
Re^2: running system commands from a CGI script
by JavaFan (Canon) on Jul 24, 2010 at 11:02 UTC
    Actually, a CGI program doesn't care. I've seen CGI programs that start up xterms. It does of course the GUI program to know on which display it should appear, and it certainly does help if there's a human to interact with the GUI application.

    Starting a GUI program from a CGI program isn't useful that often - but certainly not impossible.

      Thanks. Yup, CGI doesn't care, but notepad wont magically appear on the users computer :)