# Instructions for downloading and installing win32-open3 modu

**URL:** <https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127>\
**Category:** Ruby\
**Created:** [June 12, 2006, 2:28pm UTC](https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127 "2006-06-12T14:28:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [June 12, 2006, 2:28pm UTC](https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127/1 "2006-06-12T14:28:43Z")

</div>

Hi All,

In recent past I have used Win32-service module; I came to RubyTalk on  
instruction for how to install service module. Park H. gave me  
service.so file and told me to put this fine in win32 directory present  
in  
ruby\lib\ruby\site\_ruby\1.8\i386-msvcrt\win32 directory.

Now I want to use win32-open3 module, from website  
[http://rubyforge.org/projects/win32utils/](http://rubyforge.org/projects/win32utils/) I got open3-0[1].2.2.so file;  
but  
now on copying it to win32 directory mentioned aboove, I am not able to  
use  
win32-open3 module.

Help is appreciated.

Regards,  
Jatinder

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [June 12, 2006, 2:48pm UTC](https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127/2 "2006-06-12T14:48:11Z")

</div>

Hi,

I was able to get around with the installation by renaming the so file  
to  
open3.so and putting it in the mentioned folder, but now on executing  
the  
ruby program I get following error,

check.rb:3: [BUG] Segmentation fault  
ruby 1.8.4 (2005-12-24) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual  
way.  
Please contact the application’s support team for more information.  
Following are the contents of ruby program,

require “win32/open3”

input, out, err, @pid = Open4.popen4(‘dir’)

Help Appreciated!

Thanks

Jatinder

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [June 12, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127/3 "2006-06-12T15:04:08Z")

</div>

Hi,

> ruby program I get following error,  
> Following are the contents of ruby program,
> 
> Jatinder

Same as win32-serivce.so, you can download “open3.so” at  
[http://home.nownuri.net/~phasis/open3.so](http://home.nownuri.net/~phasis/open3.so)  
and copy to ruby\lib\ruby\site\_ruby\1.8\i386-msvcrt\win32 directory

Soon or later, the segfaulting binary files will be replaced with  
correct  
version.

Regards,

Park H.

---

<div class="post-metadata">

**Author:** ![Jatinder\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e4f/32.png) [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Post date:** [June 12, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/instructions-for-downloading-and-installing-win32-open3-modu/63127/4 "2006-06-12T18:22:36Z")

</div>

Thanks this open3.so works!

-Jatinder
