Project

General

Profile

Actions

Feature #8981

closed

Suggestion for CreateProcess flags with rubyw on windows

Added by jfrench (James French) over 10 years ago. Updated about 6 years ago.

Status:
Feedback
Assignee:
Target version:
-
[ruby-core:57604]

Description

Hi,

I've spent some time looking into the feasibility of using rubyw in my code and at first glance it looks ideal. However there are a lot of console windows flashing up when I run external processes using Open3::popen3 (because I want to capture their stdout and stderr). I believe that creating a process without CREATE_NO_WINDOW in rubyw is a bug, as the whole point of rubyw is that it doesn't pop up a console.

If there is agreement I'm happy to file a bug report/submit a patch.

Cheers,
James

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Category set to platform/windows
  • Assignee set to windows
  • Target version set to 2.1.0

Incorporated.

Please attach your patch here.

Updated by zzak (zzak _) over 10 years ago

I would just open a ticket, this will give you a much better chance at feedback.

On Oct 2, 2013, at 5:35 PM, James French wrote:

Hi,

I’ve spent some time looking into the feasibility of using rubyw in my code and at first glance it looks ideal. However there are a lot of console windows flashing up when I run external processes using Open3::popen3 (because I want to capture their stdout and stderr). I believe that creating a process without CREATE_NO_WINDOW in rubyw is a bug, as the whole point of rubyw is that it doesn’t pop up a console.

If there is agreement I’m happy to file a bug report/submit a patch.

Cheers,
James

Updated by hsbt (Hiroshi SHIBATA) about 10 years ago

  • Target version changed from 2.1.0 to 2.2.0

Updated by hsbt (Hiroshi SHIBATA) over 9 years ago

  • Status changed from Open to Feedback
Actions #5

Updated by naruse (Yui NARUSE) about 6 years ago

  • Target version deleted (2.2.0)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0