From: "Berger, Daniel" Date: 2006-09-01T04:13:37+09:00 Subject: Re: [ANN] open4-0.6.0 > -----Original Message----- > From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov] > Sent: Thursday, August 31, 2006 12:10 PM > To: ruby-talk ML > Subject: Re: [ANN] open4-0.6.0 > > > On Fri, 1 Sep 2006, Berger, Daniel wrote: > > >> -----Original Message----- > >> From: ara.t.howard@noaa.gov [mailto:ara.t.howard@noaa.gov] > >> Sent: Thursday, August 31, 2006 10:56 AM > >> To: ruby-talk ML > >> Subject: [ANN] open4-0.6.0 > >> > >> > >> > >> URIS > >> > >> http://rubyforge.org/projects/codeforpeople/ > >> http://www.codeforpeople.com/lib/ruby/ > >> > >> SYNOPSIS > >> > >> open child process with handles on pid, stdin, stdout, and > >> stderr: manage > >> child processes and their io handles easily. > > > > > > > > I tried to download the .tgz file from the RubyForge page, > but I get a > > 404. I noticed you have the files layed out somewhat > strangely, with > > 1 file per release it looks like. Maybe that's confusing RubyForge. > > hmm. the same script uploaded the gem, which is fine, as the > tgz so i'm not sure what's going on... it looks like it may > be a rubyforge issue - i can't even delete the release with > it throwing errors (missing parameters??) > > for now you can grab the tarball/gem here > > http://www.codeforpeople.com/lib/ruby/open4/ > > sorry for hassle... > > > May I suggest putting related files under the same release? Take a > > look at http://rubyforge.org/frs/?group_id=735 for what I mean. > > isn't that how i have it > > http://rubyforge.org/frs/?group_id=1024 Not exactly. For example, I see this under alib: alib 0.4.0 alib-0.4.0.gem 0.4.0 alib-0.4.0.tgz Instead of just: alib 0.4.0 alib-0.4.0.gem alib-0.4.0.tgz I didn't even realize that GForge allowed identical release names for the same package. Maybe this has nothing to do with the problem, however. I'm just guessing. > > Anyway, assuming this works on Windows (it does, right?) > then I might > > have to start a petition to include it in the stdlib. :) > > errr - no. ;-( > > however. i would __love__ to make it so. can i ask you to > have a look at the source and see what it would take to make > work? i'm sure this will mean factoring out fork or > requiring one of you windows libs that do so - and that may be all. It would require C I'm afraid. The win32-open3 package is one of those that can't properly be converted to pure Ruby. Perhaps a simple facade is in order. > next i'll have you help me make posixlock cross-platform ;-) I haven't looked at the source yet, but I suppose I would start with Lock() and LockEx(): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata 5/html/wce50lrfLockFile.asp Regards, 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 sender by reply e-mail and destroy all copies of the communication and any attachments.