cseelig has asked for the wisdom of the Perl Monks concerning the following question:
It works in all other respects (I get a page in the browser that displays "Dir:")
Thoughts? Thanks!!
#! c:\perl\bin\perl.exe use CGI qw(:standard :html3); use CGI::Carp qw(fatalsToBrowser); print header(); print '<html><body>'; $tmp = `dir`; if (defined($tmp)) { print "Dir: $tmp"; } else { print "Error: $!"; } print "<p>"; print "Path is $ENV{'PATH'}"; print '</body></html>';
Here's the PATH at runtime:
Path is d:\bin\;D:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\ +bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W +bem
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: backtick in perl 5.8 cgi under iis 6
by ikegami (Patriarch) on Feb 16, 2006 at 21:30 UTC | |
by cseelig (Initiate) on Feb 16, 2006 at 22:05 UTC | |
|
Re: backtick in perl 5.8 cgi under iis 6
by neilwatson (Priest) on Feb 16, 2006 at 21:10 UTC | |
by cseelig (Initiate) on Feb 16, 2006 at 22:13 UTC | |
by neilwatson (Priest) on Feb 17, 2006 at 14:15 UTC | |
by ikegami (Patriarch) on Feb 17, 2006 at 16:42 UTC | |
by cseelig (Initiate) on Feb 17, 2006 at 16:23 UTC | |
by marto (Cardinal) on Feb 17, 2006 at 16:55 UTC | |
| |
by runrig (Abbot) on Feb 17, 2006 at 16:45 UTC | |
|
Re: backtick in perl 5.8 cgi under iis 6
by mab (Acolyte) on Apr 26, 2006 at 03:33 UTC |