Starting exe files from cgi scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

My Apache http server is running on Windows.
I'm able to get cgi/Perl scripts to run.

I'm trying to run an application like notepad from my html form.  I have a
button that calls a script but the notepad application only runs in the
background (no window pops up like when I test in Perl).  I see it in the
Windows Task Manager/Processes Tab so I know it is running.  Below is a clip
from my form code:

<FORM ACTION="/cgi-bin/run_hotkey.pl" method="POST">
      <INPUT TYPE="SUBMIT" VALUE="Run notepad Script">
</FORM>

This is a clip from my run_hotkey.pl script:

#! c:/perl/bin/perl -w
use strict;
system("notepad"); # This starts notepad in the background.

Does anyone know how to do this?

Thanks

Dave Fangmeier
dave.fangmeier@xxxxxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux