You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by wenshen kao <wk...@yahoo.com> on 1998/09/30 23:42:13 UTC

os-windows/3113: general system environment variables are not passed to the perl cgi scripts

>Number:         3113
>Category:       os-windows
>Synopsis:       general system environment variables are not passed to the perl cgi scripts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Sep 30 14:50:01 PDT 1998
>Last-Modified:
>Originator:     wkao@yahoo.com
>Organization:
apache
>Release:        1.3.2
>Environment:
windows NT, binary release 1.3.2, 
>Description:
In my perl script, I execute commands through "system mycommd", the
command is in the PATH environment, but the script can not find it. I must copy
the command to the current working directory of the script.
>How-To-Repeat:
if you have bash commands available on windows NT, include the bash/bin directory in your
system path, and verify that one of the command (e.g., ls) can be invoked from command line. 
Then create a perl script invoking the command by "system ls". 
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]