Displaying 19 results from an estimated 19 matches for "popen4".
Did you mean:
popen
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 <internal:lib/rubygems/c...
2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
...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? [WAS] Re:
> Nonblocking IO read (fwd)
>
>
>
> hi dan-
>
> forgot to cc you on this... hopefully you''ll have some suggestions?
>
> regards.
>
> -a
> --
> my religion is very simple. my religion is kindness. -- the
> dalai lama...
2006 Jul 05
0
using show argument of Open4.popen4 win32:open3 module
...rying 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",
mode=''t'',show=true)
webrick server does get started but with no console; how do make the console
visible.
The reason I want the console to be up is because I have observed that rails
applications run using console are faster than ap...
2006 Apr 19
0
open4-0.3.0
...g. general clean up. added spawn method.
0.2.0 :
- added exception marshaled from child -> parent when exec fails. thanks
to jordan breeding for a patch (yay!) and paul brannan for this most
excellent idea.
0.1.0 :
- fixed docs to correctly show return value of popen4 (pid first not last).
thanks Stefanie Tellex <stefie10@alum.mit.edu> for catching this.
0.0.0 :
- initial version
INSTALL
~> gem install open4
SAMPLES
----------------------------------------------------------------------------
simple usage
------------------...
2006 Aug 07
0
open4-0.5.0
...g. general clean up. added spawn method.
0.2.0 :
- added exception marshaled from child -> parent when exec fails. thanks
to jordan breeding for a patch (yay!) and paul brannan for this most
excellent idea.
0.1.0 :
- fixed docs to correctly show return value of popen4 (pid first not last).
thanks Stefanie Tellex <stefie10@alum.mit.edu> for catching this.
0.0.0 :
- initial version
INSTALL
~> gem install open4
SAMPLES
----------------------------------------------------------------------------
simple usage
------------------...
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 04
0
open4-0.5.1
...n4
SAMPLES
----------------------------------------------------------------------------
simple usage
----------------------------------------------------------------------------
harp: > cat sample/simple.rb
require "open4"
pid, stdin, stdout, stderr = Open4::popen4 "sh"
stdin.puts "echo 42.out"
stdin.puts "echo 42.err 1>&2"
stdin.close
ignored, status = Process::waitpid2 pid
puts "pid : #{ pid }"
puts "stdout : #{ stdout.read.strip }"
puts "stderr...
2002 Nov 20
1
Controlling smbclient from python weirdness
...28 2001 smb: \>
DOS D 0 Tue Nov 20 14:57:32 2001
65526 blocks of size 32768. 65526 blocks available
As I look for the command prompt to know smbclient has finished giving
me the reply, this messes things up.
I control smbclient via popen4() in python2.1. I've found this strange
placement in the prompt to be the reason my code isn't working, via
running smbclient like this:
c = popen2.Popen4("smbclient //machine/c -N | tee /tmp/smb_out.txt)
And watching smb_out.txt (Popen3() acts the same way).
Is this likely to be an...
2006 Apr 16
3
[ win32utils-Patches-4121 ] Make it possible to read process exit status
...s that one is not supposed to fiddle with /that/ variable, but we can make our own. This patch adds a #last_status method to both the Open3 and Open4 modules that returns a Process::Status object that is set when the pipes are closed (similarly to how Ruby does it in io.c).
I also made popen3 and popen4 return the object when they''re called with a block. I figured it was as neat idea.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
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...
2011 May 10
7
Webrick script/server file does not exist
...(1.0.0)
actionmailer (3.0.6)
actionpack (3.0.6)
activemodel (3.0.6)
activerecord (3.0.6)
activeresource (3.0.6)
activesupport (3.0.6)
arel (2.0.9)
builder (2.1.2)
bundler (1.0.12)
erubis (2.6.6)
i18n (0.5.0)
mail (2.2.15)
mime-types (1.16)
open4 (1.0.1)
pg (0.10.1)
Platform (0.4.0)
polyglot (0.3.1)
POpen4 (0.1.4)
rack (1.2.2)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.6)
railties (3.0.6)
rake (0.8.7)
rb-readline (0.4.0)
rubyzip2 (2.0.1)
sqlite3 (1.3.3 x86-mingw32)
sqlite3-ruby (1.3.3)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.26)
win32-open3 (0.3.2 x86-mingw32)
Thank you in advance.
Maria
-...
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2011 Feb 21
1
authlogic problem
...2.0.2)
activeresource (3.0.3, 2.0.2)
activesupport (3.0.3, 2.0.2)
arel (2.0.7)
authlogic (2.1.6)
builder (2.1.2)
bundler (1.0.10)
erubis (2.6.6)
i18n (0.5.0)
json (1.5.1 x86-mingw32)
mail (2.2.15)
mime-types (1.16)
nifty-generators (0.4.5)
open4 (1.0.1)
pg (0.10.1)
Platform (0.4.0)
polyglot (0.3.1)
POpen4 (0.1.4)
rack (1.2.1)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (3.0.3, 2.0.2)
railties (3.0.3)
rake (0.8.7)
rb-readline (0.4.0)
rubyzip2 (2.0.1)
sqlite3 (1.3.3 x86-mingw32)
sqlite3-ruby (1.3.3)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.24)
win32-open3 (0.3.2 x86-mingw32)
-------------------------...
2006 Jun 29
0
Ajax Scaffold for a application started using win32-process module.
Hi,
I have an RoR application(parent) which is use to kick off other RoR
applications(ajax scaffold based).
I use win32-process Open4.popen4() to start the RoR applications.
Untill recently I was using normal scaffold feature of Rails, and recently I
migrated to Ajax Scaffold; After moving on to Ajax scaffold, when I try to
start a RoR from my parent RoR, the application do get started, when I fire
a request to get me the list page, I d...
2006 Jul 03
0
[ win32utils-Patches-4121 ] Make it possible to read process exit status
...s that one is not supposed to fiddle with /that/ variable, but we can make our own. This patch adds a #last_status method to both the Open3 and Open4 modules that returns a Process::Status object that is set when the pipes are closed (similarly to how Ruby does it in io.c).
I also made popen3 and popen4 return the object when they''re called with a block. I figured it was as neat idea.
----------------------------------------------------------------------
>Comment By: Daniel Berger (djberg96)
Date: 2006-07-02 19:48
Message:
Incorporated into 0.2.3. :)
- Dan
-----------------------...
2004 Oct 06
0
Open3 progress
...ample 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 popen2 and popen4 back in later.
Also, I''ve dropped support for Win9x or ME.
What''s left? Well, I need to write the docs yet. Also, I need to write
some tests for the modes and generally figure out how modes work for popen3
on Win32. Any help or docs in that area appreciated. :)
Also, I ha...
2007 Jul 08
2
[ win32utils-Support Requests-12080 ] How would one add these packages as a dependency to a cross-platform gem?
Support Requests item #12080, was opened at 2007-07-07 19:02
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=412&aid=12080&group_id=85
Category: Install Problem (example)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Luke Bayes (lukebayes)
Assigned to: Nobody (None)
Summary: How would one add these packages as a dependency to a
2002 Nov 22
0
RE:swat in samba-2.2.7
...28
2001 smb: \>
DOS D 0 Tue Nov 20 14:57:32
2001
65526 blocks of size 32768. 65526 blocks available
As I look for the command prompt to know smbclient has finished giving
me the reply, this messes things up.
I control smbclient via popen4() in python2.1. I've found this strange
placement in the prompt to be the reason my code isn't working, via
running smbclient like this:
c = popen2.Popen4("smbclient //machine/c -N | tee /tmp/smb_out.txt)
And watching smb_out.txt (Popen3() acts the same way).
Is this likely to be an...
2011 May 09
17
requests hanging
If my Rails server has been sitting idle for a while, it does not respond to
new requests.
What is the best way to troubleshoot something like that.
I am using Rails 3.0.7 in development.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to