Re: env in background process

2000-09-26 Thread Doug MacEachern
On Mon, 14 Aug 2000, Niraj Sheth wrote: Hi, I am having very strange problem with environment variables. From Apache::PerlRun script(cgi) I am setting env and firing background process .. system("$command ") (or print `$command `;) now looks like environment vari

RE: env in background process

2000-09-26 Thread Doug MacEachern
On Tue, 15 Aug 2000, Niraj Sheth wrote: so why dump_env is getting both? If I either uncomment "local %ENV = %ENV;" in script or put "%ENV = ();" in PerlCleanupHandler then dump_env is working fine. I tried both Apache::PerlRun and Apache::Registry which same result. oh whoops, you did

RE: env in background process

2000-09-26 Thread Sheth, Niraj
2000 3:32 PM To: Niraj Sheth Cc: [EMAIL PROTECTED] Subject: RE: env in background process On Tue, 15 Aug 2000, Niraj Sheth wrote: so why dump_env is getting both? If I either uncomment "local %ENV = %ENV;" in script or put "%ENV = ();" in PerlCleanupHandler

RE: env in background process

2000-08-30 Thread Doug MacEachern
On Wed, 23 Aug 2000, Sheth, Niraj wrote: Didn't get any reply yet on this, so I think i am doing something very stupid ... i'm still catching up with plenty of unanswered mail in my modperl mailbox, including yours, doing the best i can.

RE: env in background process

2000-08-23 Thread Sheth, Niraj
] Subject: RE: env in background process Follow up on this. script1.pl(set FOO1 env) === #!/usr/local/bin/perl print "Content-type: text/html\n\n"; print "PID = $$BR\n"; print "SCRIPT1 with FOO1BR\n"; #local %ENV = %ENV; $ENV{FOO1} = "foo

RE: env in background process

2000-08-15 Thread Niraj Sheth
omment "local %ENV = %ENV;" in script or put "%ENV = ();" in PerlCleanupHandler then dump_env is working fine. I tried both Apache::PerlRun and Apache::Registry which same result. I would appreciate any help. -Niraj -Original Message- From: Niraj Sheth [mailto:[EMAIL

env in background process

2000-08-14 Thread Niraj Sheth
Hi, I am having very strange problem with environment variables. From Apache::PerlRun script(cgi) I am setting env and firing background process .. system("$command ") (or print `$command `;) now looks like environment variable being persistence b/w different requests ONLY in