similar to: dynamic status back to client...

Displaying 20 results from an estimated 1000 matches similar to: "dynamic status back to client..."

2007 Mar 08
1
cant fully capture child output
I cant seem to get the io from a child process of a worker back to my client. There most be something academic I''m missing :/. I looked at examples in Pickaxe and Ruby PLEAC library ... and I believe the following should work: # called from within do_work... def backup(repo) logger.info(''SvnWorker backup repo ''+repo) tmp = [] my_project =
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
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 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
2008 Mar 21
0
Fwd: Is select() untrustworthy on Windows when used with handles from popen3?
Any ideas? Dan ---------- Forwarded message ---------- From: Steve Shreeve <steve.shreeve at gmail.com> Date: Thu, Mar 13, 2008 at 10:51 AM Subject: Is select() untrustworthy on Windows when used with handles from popen3? To: djberg96 at gmail.com Dan, Thanks for your work on the win32util modules. I''ve created an expect-like library that allows one to easily script
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
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
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 <:((><
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
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 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
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
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
2006 May 29
0
[open3] Exit Status Patch
I''ve added another patch for the popen3 library which sets $? and adds Process::Status a return when popen3/4 is called with a block thus making it closer to the Open4. This is a merge of a couple of patches previously submitted by Samuel Tesla. http://rubyforge.org/tracker/index.php?func=detail&aid=4603&group_id=85&atid=413 Note that this implementation is not thread-safe
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
Not sure if this is expected or not. Only happened with a has_one :through I had setup. (Workaround is just to remove it and go through the association manually vs has_one ..., through: .) Not a big deal if no one has time to look at it, as it''s not a big enough deal to look into a fix on our side. In Rails (3.2.9) console if I do: MyModel.reflections.each {|name,reflection|
2009 Nov 12
1
[ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1
Bugs item #27425, was opened at 2009-11-11 21:15 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85 Category: win32-open3 Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: win32-open3 doesn''t build with 1.9.1 Initial Comment: Windows XP VC++ 9
2006 Oct 19
1
Question about variable assignments/scoping after render call
I''ve got a question about how variables are made available to templates. We have a test that looks something like this: def test_variable_assigned xhr :get, :do_stuff, :id => 1 assert_not_nil assigns(:thing) end And our app code looks like this: class SuperClass < ActionController def do_stuff @parent_model = ParentModel.find(params[:id]) render :template
2006 Aug 21
3
strange problem with system call
Hi, I am using backgroundrb to create a automated system of typo blogs.So, users can create new typo applications using web interface and all that jazz. Now..its working perfectly except one minor glitch. Since latest version of typo has a command called "typo", i simply use that command to install new typo app.And it works. def do_work(args) DIR =
2011 Oct 23
1
Problem using github gem on Windows 7
Hi all, I''m new to this and trying to set up my dev environment on a Window 7 x64 machine. I used the latest version of RailsInstaller to start with. I''m running into a problem using the github gem. When I try ''gh create-from-local'', I get: "You must ''gem install win32-open3'' to use the github command on Windows" However, when I
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