comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Running IDL through CGI-Perl on the web (Win NT)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Running IDL through CGI-Perl on the web (Win NT) [message #13666] Fri, 20 November 1998 00:00
mila is currently offline  mila
Messages: 5
Registered: July 1996
Junior Member
Hello,


I need some help with a project where I am trying to run an IDL program
(.exe file located on a WIN NT disk) through CGI-Perl. The perl program I
wrote successfully calls the idelde.exe, or idlrt.exe or a .sav file and
creates a .GIF file which is my objective; but when I call that perl program
through a CGI form on the web, it does not run the IDL executable. The CGI
form does indeed call the Perl correctly, as I can pass it some variables and
it returns those, but seems to ignore and pass over the idlde.exe (or even
.sav or idlrt.exe) file. Do you know how I can make the CGI run the .exe
file? I know people have successfully run IDL from the web on Unix machines.
The catch is I am doing this on Windows NT. Does anyone have any ideas on
what the problem could be ?

The line I have in Perl (trial.pl) is something like:
open IDL,'|"c:\rsi\idl51\idlrt.exe @trial.sav "';
close IDL;

The line in CGI form that calls the Perl program is:
<FORM ACTION="http://www.ssmi.com/cgi-bin/mila/trial.pl" METHOD="post">


Please let me know if you have any suggestions . I would really appreciate it!
The main problem is Perl calls the program (IDL as well as others like say,
paintshop.exe) through the DOS command line correctly (perl trial.pl_, but
when I call the same problem through CGI form, it runs the perl program but
ignores the IDL executable program to be called.

Thanks in advance,
Mila Mitra
mitra@remss.com

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL-ActiveX bug? - Problems with RegisterForEvents
Next Topic: Reading FileMaker Pro files?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:00:27 PDT 2025

Total time taken to generate the page: 0.01069 seconds