Displaying 20 results from an estimated 800 matches similar to: "Removing COMSPEC from win32-open3"
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
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
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 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",
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
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
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
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
2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
Hi,
I working on porting an IDE on MacOSX with the help of Wine, And I discover a random bug on wine.
Please use this sample code to reproduce it (to be compiled on Windows):
Code:
/////////////////////////////////////////////////////////////////////////////
int Quit(int aReturnCode)
{
#ifdef _DEBUG
wcout << L"Press Enter to quit";
getchar();
#endif
return aReturnCode;
}
2009 Apr 07
2
Running an R script from Delphi 7
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7 program and run a script by using a procedure like the following:
function StartRAndWait (CommandLine : string) : Boolean;
var
Proc_info: TProcessInformation;
Startinfo: TStartupInfo;
ExitCode: longword;
CreateOK : Boolean;
begin
Result := False;
{ Initialize the structures }
2002 Nov 20
1
Controlling smbclient from python weirdness
I've written a python wrapper around the smbclient program, so that I
can list/upload/download from Windows shares.
Using smbclient 2.0.9 or Version 2.2.5-2 for Debian, my wrapper works
well and is able to control the smbclient process via pipes well. With
both smbclient 2.999+3.0cvs20020723-1 and 2.999+3.0.alpha20-3 (on a
Debian box) the smbclient responses appear to be not always BEFORE the
2011 May 10
1
popen4 gem for windows
hi, i want to make application that run a process automatically after server
starts completely.
I have explore and find popen4 gem which provides this facility.
I have installed a gem but there is some problem while executing the ruby
program.
The error is like
* <internal:lib/rubygems/custom_require>:29:in `require'': no such file to
load --
win32/open3 (LoadError)*
* from
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
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 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
Hi Ara,
I''ll take a look. In the meantime, I''ve cc''d the win32utils-devel
mailing list to see if anyone has any ideas/suggestions.
Regards,
Dan
> -----Original Message-----
> From: ara.t.howard at noaa.gov [mailto:ara.t.howard at noaa.gov]
> Sent: Wednesday, November 01, 2006 12:36 PM
> To: Berger, Daniel
> Subject: fatal flaw in popen4 on windows?
2007 Mar 05
0
dynamic status back to client...
Hi,
I have a long worker process I want to capture the output as dynamically
as possible and send it to the client. I do the following currently:
class SvnWorker < Worker::Base
def do_stuff(args)
tmp = []
my_project = args[:repo]
# Import the contents of a 20 Meg project into a bare bones svn repo.
import_status = `svn import #{path_to_extracted_zipdir}
file://#{my_project}`
tmp =