Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 64362
BY: Gavin Jefferies (gj262)
DATE: 2009-02-01 00:33
SUBJECT: Process.create( and the environment parameter

 

Hi,

I've been trying to use Process.create with a modified environment. However the PATH environment variable is truncated to its first entry. process.rb expects the environment to be passed in separated by File::PATH_SEPARATOR which is ';' and which is also how the PATH environment var splits up its members.

How should the environment parameter be constructed to support variables with ';' in their value. e.g. PATH and PATHEXT?

Thanks,
Gavin



Thread View

Thread Author Date
Process.create( and the environment parameterGavin Jefferies2009-02-01 00:33
      RE: Process.create( and the environment parameterDaniel Berger2009-02-02 04:47
            RE: Process.create( and the environment paramGavin Jefferies2009-02-02 05:34
                  RE: Process.create( and the environment paramDaniel Berger2009-02-11 20:49
                        RE: Process.create( and the environment paramSvetlana Roshenko2012-10-12 23:13
                              RE: Process.create( and the environment paramDaniel Berger2012-10-19 04:43

Post a followup to this message