Displaying 20 results from an estimated 700 matches similar to: "[open3] Exit Status Patch"
2006 Jun 12
1
CVS layout question
I notice that open3 exists in both /win32utils/win32-open3/lib/win32
and /win32utils/win32-open3 and that there are recent commits in each
area. What is the intended difference between these two?
--
John-Mason Shackelford
Software Developer
Pearson Educational Measurement
2510 North Dodge St.
Iowa City, IA 52245
ph. 319-354-9200x6214
john-mason.shackelford at pearson.com
2006 May 29
3
[ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 16:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
Category: win32-open3
Group: Bug Fix
Status: Open
Resolution: None
Priority: 3
Submitted By: John-Mason Shackelford (jpshackelford)
Assigned to: Nobody (None)
Summary: [open3] set $? and return Process::Status with block call
Initial
2006 Jun 15
1
Extracting Rails Model into a GEM
I presently am refactoring an a Rails App that has not only the
standard RoR web front end, but also agents which share the same model
and run on different machines. In the past the whole rails app was
just deployed on other machines even though only the model was used. I
am trying to improve the situation by extracting the model into a gem
which depends only on ActiveRecord and then requiring the
2006 May 30
1
has anyone compiled win32-utils under mingw?
Since the 1.8.4 One-click installer is based on VC++ 6.0 which is no
longer available, I am looking for alternative ways of building
win32-utils so as avoid segfaults. Has anyone used MingGW
successfully? When I run ruby extconf.rb from MSYS the resulting make
file assumes that I am using VC++. Do I need to build ruby under MinGW
first?
--
John-Mason Shackelford
Software Developer
Pearson
2005 Mar 01
1
rename associations
Greetings all,
In looking at the API for ActiveRecord::Associations::ClassMethods there
doesn''t appear to be a way to rename an association. In doing some
refactoring I am replacing one table with two but want to preserve the
old associations names, e.g. I want to be able to still say
build_type.artifacts instead of having to use the new table name:
build_type.build_type_artifacts.
2006 Jun 16
0
rubygems support for rails plugins (patch)
Rails committers, (feedback from others welcome)
Would you accept a patch--in principle, obviously the implementation
matters--that would:
1. allow Rails to load a plugin from gem
2. permit the plugin script to install them
3. give the plugin generator''s default Rake file the ability to
package and publish a gem
4. introduce freeze/unfreeze for plugins
Why?
- RubyGems''s
2005 Mar 01
2
Open3.popen3 oddity
Open3.popen3 returns the pid as well as the in, out, and err streams.
I thought only the streams were supposed to be returned.
Thanks
--
Nathaniel
<:((><
2008 May 30
1
[ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations
Bugs item #20455, was opened at 2008-05-30 16:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=20455&group_id=85
Category: None
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-open3: crashes after 170 popen3 operations
Initial Comment:
OS: XP w/SP2
C:\Documents and
2006 Apr 16
3
[ win32utils-Patches-4121 ] Make it possible to read process exit status
Patches item #4121, was opened at 2006-04-16 12:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
Category: win32-open3
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Samuel Tesla (stesla)
Assigned to: Nobody (None)
Summary: Make it possible to read process exit status
Initial Comment:
The UNIX Open3 sets the
2004 Oct 04
2
open3 for windows
Hi all,
The topic of creating a unified API for open3 for Windows came up at
RubyConf 2004 this year.
Park, I was wondering if you would mind if we modified win32_popen so that
the API matches the open3 library that ships with Ruby.
This also means deciding whether or not to leave in the open2, open4, and
posix stuff. I guess it doesn''t hurt to leave this in, although Open3.open4
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone,
I was trying to discover some new plugins, but the script breaks at a
certain point:
$ ./script/plugin discover
Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n]
Add http://svn.recentrambles.com/plugins/? [Y/n]
Add http://svn.hasmanythrough.com/public/plugins/? [Y/n]
Add http://www.svn.recentrambles.com/plugins/? [Y/n]
Add http://sean.treadway.info/svn/plugins/? [Y/n]
Add
2004 Oct 06
0
Open3 progress
Hi all,
I''ve got an initial version of Open3.popen3 checked into CVS, along with a
test suite, a sample program and some of the usual files (README, etc).
This is just Park''s win32_popen package stripped down and modified to match
the Open3 API.
So far, so good. For the first release, I''ve decided that we should strip
it down to popen3 only. We can always add
2006 Jul 05
0
using show argument of Open4.popen4 win32:open3 module
Hi,
I am trying to start a rails webrick server programmatically. I want the
console for that server to be shown.
I earlier decided on using win32-open3 module as it provides me with
flexibility to keep track of running of processes.
I use following call to start webrick server,
input, out, err, pid = Open4.popen4("ruby homedir/script/server -p 3001",
2005 Mar 01
5
Open3.popen3 bug
Running this program:
require ''win32/open3''
i, o, e, pid = Open3.popen3("c:/ruby/bin/ruby.exe -e\"sleep 10\"")
i.close
Gives this result:
C:\_co\source\build\web\temp>ruby t.rb
t.rb:5: [BUG] Segmentation fault
ruby 1.8.2 (2004-06-29) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please
2008 Jan 16
2
Problem with win32-open3 and net-ping
Hi all,
I''m seeing strange behavior with net-ping on Windows, which uses
win32-open3 (Open3.popen3) behind the scenes.
Download (or checkout) net-ping and run this:
ruby -Ilib test\tc_pingexternal.rb
It looks like the test suite is running twice. What''s happening?
Thanks,
Dan
This communication is the property of Qwest and may contain confidential or
privileged
2006 Jul 03
0
[ win32utils-Patches-4121 ] Make it possible to read process exit status
Patches item #4121, was opened at 2006-04-16 10:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
Category: win32-open3
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Samuel Tesla (stesla)
Assigned to: Nobody (None)
Summary: Make it possible to read process exit status
Initial Comment:
The UNIX
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we
2004 May 14
0
open3 test
Just for kicks, I thought I''d give the following a shot:
require "win32/process"
require "open3"
sin,sout,serr = Open3.popen3("echo %PATH%")
p sout.gets
p serr.gets
Returns nil for both, but hey, at least it doesn''t crash. :)
Dan
2006 May 31
2
Looking for docs on some functions and constants
Hi all,
I''m starting to set things up to move win32-open3 towards a pure Ruby
solution. I''ve got a windows-pipe module setup, but now I need to
define some of the msvcrt IO functions. However, I can''t find
documentation on MSDN or my system for the following:
FMODE_READABLE
FMODE_WRITABLE
FMODE_BINMODE
MakeOpenFile()
io_alloc()
A recursive search on my header files
2004 Dec 18
0
Removing COMSPEC from win32-open3
Hi all,
Aslak brought up a good point with regards to
returning the pid for a popen4() method. As it stands
now, it returns the pid of the shell rather than the
pid of the process itself.
However, my attempts to remove the COMSPEC stuff
result in CreateProcess() failing with an error code
of 2, i.e. "the system cannot find the file specified"
- not too helpful. This is when I tried