similar to: Process.setsid for Windows

Displaying 20 results from an estimated 10000 matches similar to: "Process.setsid for Windows"

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 Aug 24
1
[ win32utils-Bugs-5503 ] Process::create() checks return value of CreateProcess against 0, should be false
Bugs item #5503, was opened at 2006-08-23 21:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5503&group_id=85 Category: win32-process Group: Code Status: Open Resolution: None Priority: 3 Submitted By: David Haney (darius42) Assigned to: Nobody (None) Summary: Process::create() checks return value of CreateProcess against 0, should be false
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2006 Apr 14
3
[ win32utils-Bugs-4101 ] create hash param
Bugs item #4101, was opened at 2006-04-14 11:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85 Category: win32-process Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: create hash param Initial Comment: hi, problem with process, when I do pid = Process.create(
2009 Sep 02
1
Question on CreateProcess and handle inheritance
Hi, I just wanted to make sure that I''m not confused by Michael Buselli''s comment and patch. As far as I can tell, if you set the bInheritHandle in the SECURITY_ATTRIBUTES structure that''s passed to CreateProcess to true, it''s the same as calling SetHandleInformation(handle, HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT) after the fact. CreateProcess:
2012 Apr 07
5
FFI and msvcrt
Hi, I''ve been using FFI with a Ruby 1.9.3 built with MSVC++ and it''s been working well. One thing I''ve run into though is this: ffi_lib :msvcrt But that''s not the runtime I want. But I don''t want to hard code the runtime name either. I realize I could parse it out of RbConfig, but I was hoping for something nicer. Is there a way we could create an
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
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 }
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
2010 Dec 25
4
[ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority
Bugs item #28801, was opened at 2010-12-25 11:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85 Category: win32-process Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Rafa? Michalski (royaltm) Assigned to: Nobody (None) Summary: unclosed handle in Process.setpriority/getpriority Initial Comment: Using
2007 May 04
1
[ win32utils-Patches-6236 ] Add debug API
Patches item #6236, was opened at 2006-10-19 07:10 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=6236&group_id=85 >Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Jano Svitok (janek) >Assigned to: Daniel Berger (djberg96) Summary: Add debug API Initial Comment: This adds couple of methods to
2007 May 04
1
[ win32utils-Patches-6237 ] Add Guid API
Patches item #6237, was opened at 2006-10-19 07:11 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=6237&group_id=85 >Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Jano Svitok (janek) >Assigned to: Daniel Berger (djberg96) Summary: Add Guid API Initial Comment: This adds API for creating GUIDs.
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
Bugs item #6722, was opened at 2006-11-17 05:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: win32-changenotify fails on Ruby 1.8.4 Initial Comment: throws an exception when loading, roughly
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
2006 May 29
3
[ win32utils-Bugs-4598 ] possible wrong condition
Bugs item #4598, was opened at 2006-05-29 11:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4598&group_id=85 Category: win32-eventlog Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: possible wrong condition Initial Comment: Is this condition right? (eventlog.rb, line 494
2010 Nov 04
1
Fwd: win32/process - small bug?
It might be a bit before I can get to this, so I thought I''d pass it on. Also, while I was stuck in the airport in Minneapolis, I decided that the getrlimit method should be refactored to remove the process from the job (if it wasn''t already in one) after it''s finished, if possible. Dan ---------- Forwarded message ---------- From: Ben Nagy <ben.nagy.web at
2006 May 10
5
[Fwd: tailing error]
-------------- next part -------------- An embedded message was scrubbed... From: =?iso-8859-1?Q?Pe=F1a=2C_Botp?= <botp at delmonte-phil.com> Subject: tailing error Date: Tue, 9 May 2006 11:21:03 +0800 Size: 1852 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060509/45783cb1/attachment.eml
2006 Mar 30
3
[ win32utils-Feature Requests-3978 ] Compile files for Ruby One-Click installer
Feature Requests item #3978, was opened at 2006-03-30 05:01 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=414&aid=3978&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Compile files for Ruby One-Click installer Initial Comment: Compile the files so they work
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
2007 May 04
5
[ win32utils-Bugs-10589 ] Bug in win32-mmap
Bugs item #10589, was opened at 2007-05-04 12:01 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=10589&group_id=85 Category: win32-mmap Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Daniel Berger (djberg96) Summary: Bug in win32-mmap Initial Comment: Ruby 1.8.6 win32-mmap 0.2.1 Assigning