Feature #8981

Suggestion for CreateProcess flags with rubyw on windows

Added by James French 7 months ago. Updated 3 months ago.

[ruby-core:57604]
Status:Open
Priority:Normal
Assignee:cruby-windows
Category:platform/windows
Target version:current: 2.2.0

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 CREATENOWINDOW 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

History

#1 Updated by Nobuyoshi Nakada 7 months ago

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

Incorporated.

Please attach your patch here.

#2 Updated by Zachary Scott 7 months 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 James.French@naturalmotion.com 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 CREATENOWINDOW 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

#3 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF