Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #718 (closed enhancement: fixed)

Opened 16 years ago

Last modified 15 years ago

Allow a process to be executed without redirecting stdout/stderr/stdin

Reported by: schveiguy Assigned to: schveiguy
Priority: normal Milestone: 1.0
Component: Core Functionality Version: trunk
Keywords: triage Cc:

Description

Currently, the Process object always redirects stdout/stderr/stdin. It is sometimes desirable to have the new process output to the same console as the parent process.

I think the best way to do this is to pass an enum as an extra argument to the constructor/execute that indicates which pipes to redirect, default value = all of them.

Change History

10/31/07 17:38:37 changed by kris

  • owner changed from sean to jcomellas.

11/13/07 16:08:24 changed by jcomellas

I was planning to create a DetachedProcess class with this functionality but it is on hold for the time being.

02/19/08 17:06:28 changed by schveiguy

  • owner changed from jcomellas to schveiguy.

I'm taking over Juan's stuff

02/19/08 17:06:44 changed by schveiguy

  • status changed from new to assigned.
  • milestone set to 1.0.

05/24/08 23:07:19 changed by larsivi

  • keywords set to triage.

12/01/08 18:04:39 changed by schveiguy

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4141]) Added ability to redirect individual standard handles through a redirect bitmask. Fixes #718

This found some issues with CREATE_NO_WINDOW on Windows, so I have added a gui flag which must be set if you want CREATE_NO_WINDOW flag to be used.