From: Eric Hodel Date: 2006-12-21T07:57:13+09:00 Subject: Re: Kernel#system bug? On Dec 20, 2006, at 13:45, Charlton wrote: > Running Ruby 1.8.4 on Linux > > This problem seems to exist with the system() function but also has > the > same problem with IO#popen. Seems the working directory of a subshell > can be affected by the command being executed? In the first call to > popen, I'm just executing "env". In the second, I'm calling "env;" > (with a semicolon. I encountered this because some commands I was > calling with system() were unable to find files that should have been > in the directory that I chdir'd to. See the recent discussion on ruby-core. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!