From: Eric Hodel Date: 2007-01-28T19:33:56+09:00 Subject: Re: Backticks failing in Ruby built with VC++ 8 On Jan 27, 2007, at 20:14, Daniel Berger wrote: > Eric Hodel wrote: >> On Jan 27, 2007, at 19:55, Daniel Berger wrote: >>> Hi all, >>> >>> Ruby 1.8.5 p12 >>> Windows XP SP2 >>> >>> I'm getting a segfault when I use the backtick operator in a Ruby >>> built with VC++ 8: >>> >>> pwd = `pwd`.chomp >>> >>> It works fine with the one click (VC++ 6). >>> >>> Is anyone else seeing this behavior? I want to make sure I >>> haven't done something silly before officially filing this as a >>> bug report. If it is a bug, I'm guessing I need to examine the >>> CreateChild function in Ruby's win32.c file. Please point me to >>> the appropriate location if that's not correct. >> >> Isn't pwd a shell builtin on WinXP? > Yes. Is that significant? It seems to be. `ruby -v` works for me, but `pwd` doesn't. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!