Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001326OCaml~DO NOT USE (was: OCaml general)public2002-08-14 22:332002-08-19 10:53
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001326: open_process for stderr
DescriptionFull_Name: Dimitri Ara
Version:
OS: Unix
Submission from: mutu.net (80.65.226.162)


It would be very convenient to have an open_process_in_error (for example)
function that get an input channel binded to the error output of a process as
open_process_in does with the standard output.

Or maybe a open_process_in_error : string -> in_channel * in_channel
to get channels for stdout and stderr.

It's pretty annoying to use pipe, fork and dup2 for a so simple task.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002555)
administrator (administrator)
2002-08-19 10:00

> It would be very convenient to have an open_process_in_error (for
> example) function that get an input channel binded to the error
> output of a process as open_process_in does with the standard
> output.

Sure. It's called Unix.open_process_full.

- XL

(0002556)
administrator (administrator)
2002-08-19 10:53

Unix.open_process_full does the job.

- Issue History
Date Modified Username Field Change
2005-11-18 10:14 administrator New Issue
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker