Jari Bakken created JRUBY-6426:
----------------------------------
Summary: Dir.chdir changes not seen by FFI calls
Key: JRUBY-6426
URL: https://jira.codehaus.org/browse/JRUBY-6426
Project: JRuby
Issue Type: Bug
Reporter: Jari Bakken
Assignee: Thomas E Enebo
Dir.chdir does not change the cwd for system calls made through FFI, as
demonstrated by this script:
https://gist.github.com/1751468
I ran into this while working on posix_spawn support for JRuby in ChildProcess.
The same applies to fcntl, which I also had to call through FFI to make the
specs pass. You can see the changes I made here:
https://github.com/jarib/childprocess/commit/c23845c5e12a1a70ff087f7e42530c5e2173d522
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email