similar to: win32-process - mixing Process into Object

Displaying 20 results from an estimated 20000 matches similar to: "win32-process - mixing Process into Object"

2006 May 02
0
Pure ruby win32-process now in CVS
Hi all, I''ve committed what I think is a complete version of win32-process in pure Ruby. The new version is in the toplevel CVS directory. You''ll need to grab the latest windows-pr from CVS as well. If there are any errors, or any comments that are incorrect, please let me know. Otherwise, I''m planning on a release this weekend. Thanks, Dan
2004 Oct 23
0
win32-ipc, with blocks (code review please)
Does this look right? The places to look are wait and wait_for_multiple (which I modified to take the class as an argument, so that I could yield). Dan /**************************************************************************** * ipc.c - source for the win32-ipc package ****************************************************************************/ #include "ruby.h" #include
2004 Sep 21
1
win32-shortcut problems
Hi all, I''ve started porting the Win32::Shortcut Perl module over to Ruby. I''ve done some initial work and committed it to CVS (look under win32utils - I goofed and made a toplevel dir as well - it''s empty). Anyway, everything compiles fine, but when I do "s = Shortcut.new" I get a weird error: test.rb:11:in `initialize'': undefined method
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all, If you take a look at the service.rb file in the win32-service repository (the new one in the toplevel repository path), I''ve got this bit of code, which succeeds, but I can''t seem to unpack the data structure properly. Did I pack it wrong to begin with? I should know this but I''m spacing out. proc_status =
2004 Feb 20
0
RE: BUG report: win32-process
> -----Original Message----- > From: Date, Shashank [Non-Employee] > [mailto:Shashank.Date@mail.sprint.com] > Sent: Friday, February 20, 2004 11:04 AM > To: Berger, Daniel > Cc: phasis@nownuri.net > Subject: BUG report: win32-process > > > gets does not work in the forked process. > > See win32 and cygwin transcripts below: > >
2006 Apr 26
3
[ win32utils-Support Requests-4264 ] win32 process
Support Requests item #4264, was opened at 2006-04-26 15:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=4264&group_id=85 Category: Install Problem (example) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: win32 process Initial Comment: I try to use the fork example, but I
2004 Feb 15
1
Win32::Process fork fragility
Park, I was just playing around with the Process.fork/wait that you committed. I discovered that it''s rather easy to break with this: require "win32/process" include Win32 Dir.chdir ".." # This causes the problem pid = Win32::Process.fork if pid == 0 puts "In the child" exit else puts "In the parent" end Win32::Process.wait(pid) I think
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2006 May 07
2
Problem with the new version of win32-process
Hi all, Well, I''ve messed something up in the pure Ruby Process.fork method. If you run the test_fork_waitpid.rb file (in CVS), you''ll see this error: c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in `call'': can''t convert false into Integer (TypeError) from c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in `OpenProcess''
2006 Dec 07
0
Fwd: win32-service problems with patch
Got this today. Please take a look and let me know what you think. - Dan ---------- Forwarded message ---------- From: Kevin Burge <kevin.burge at systemware.com> Date: Dec 7, 2006 6:45 AM Subject: win32-service problems with patch To: djberg96 at gmail.com Hi Daniel, Thanks for win32-service. In the process of using it for running a reliable-msg (drb) server and clients, I had some
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message----- > From: win32utils-devel-bounces@rubyforge.org > [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of > Bill Atkins > Sent: Thursday, August 11, 2005 8:39 AM > To: win32utils-devel@rubyforge.org > Subject: [Win32utils-devel] win32-process + ruby-breakpoint = > strangebehavior > > > I''m getting really strange
2004 Dec 10
5
win32-process 0.3.1 is out
Hi all, Just wanted to let you know that I released 0.3.1 last night. This addresses Bug #712 and incorporates Patches #1087 and #1137 (thanks Aslak). I''ll try to get an open4 implementation out this weekend, though I noticed that Aslak''s patch is different than what Park originally had, so I''ll have to decide which I prefer, or if they can be blended somehow.
2006 Feb 26
1
A quick announcement
Hi all, In light of Curt''s decision to use VC++ 6 to build the latest one click installer, along with what are undoubtedly future compatibility problems between old and new compilers, I think it''s best if we try to move over the simpler packages to a pure Ruby solution using Win32API. I have started that process by releasing pure Ruby versions of win32-clipboard and
2006 Mar 20
5
Need some ACL help for win32-file
Hi folks, I''ve got most everything done for the pure Ruby version of win32-file. The last thing left (since I''ll be moving the IO methods to a different package eventually) is the file security stuff. Here''s what I''ve got so far for the get_permissions method. However, I''m stuck at GetAce(). If someone could help me finish up this method, I
2008 Feb 27
0
Process.waitpid blocking in win32-process
Hi all, Anyone have any ideas on this one? http://rubyforge.org/forum/forum.php?thread_id=13417&forum_id=320 Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the
2007 May 04
1
Trying to get a good example for win32-mutex
Hi all, I''ve been going through the various IPC modules for Win32Utils and converting them to pure Ruby. I''m almost done with win32-mutex, but I can''t get the example to work. I keep getting this error: C:/Documents and Settings/djberge/workspace/win32-mutex/examples/mutex_test.rb:41: undefined method `+'' for nil:NilClass (NoMethodError) from
2006 Nov 21
3
Fw: re. win32-process
Hi all, Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to something in the startup_info hash, but I wasn''t sure how to do this in practice. It would be nice if the answer could be something like this: require
2006 May 12
0
win32-process 0.4.0 - SIGINT/SIGBRK not working
Hello, I''ve been trying to use the PureRuby win32 process gem. This is my child.rb file: # child.rb puts "child process #{Process.pid} started at #{Dir.getwd}" trap("INT") { puts "SIGINT signal received." exit(1) } trap("TERM") { puts "TERM signal received." exit(1) } trap("KILL") { puts "KILL signal
2005 Aug 11
0
win32-process + ruby-breakpoint = strange behavior
I''m getting really strange behavior with win32/process. Here''s the code: ----- require ''win32/process'' require_gem ''ruby-breakpoint'' x = Process.create :app_name => "ruby bin/run_device.rb devices/terminal_server.rb" puts "done" puts "done" Process.kill 9, x puts "done" ------
2004 Dec 02
0
Updated win32-process in CVS
Hi all, Aslak''s Patch #1137 suggestion inspired me this evening, so I made some modifications to win32-process. Instead of passing back HANDLE''s, I decided to pass back standard integers, and use OpenProcess() to get HANDLE''s as needed on the fly based on the pid numbers. This probably has a minor performance hit, but I think it''s more unix-like on the