Ticket #1315 (closed task: fixed)

Opened 6 years ago

Last modified 4 years ago

System.Process.runInteractiveProcess needs a way to pipe just some handles

Reported by: simonmar Owned by:
Priority: normal Milestone: 6.10 branch
Component: libraries/process Version: 6.6.1
Keywords: Cc: claus.reinke@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Moderate (less than a day)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Currently runInteractiveProcess attaches pipes to all 3 standard handles. Sometimes it's necessary to attach pipes to a subset, and possibly pass in existing Handles for the others. For example this could be used to connect a sequence of processes together with pipes. Also see Distribution.Simple.Utils.rawSystemStdout.

While we're here, we could add a more convenient popen-like API.

Change History

Changed 6 years ago by claus

  • cc claus.reinke@… added

popen-style would be nice. being able to pipe together external process invocations in haskell would be even nicer.

benchmark: as long as people write their haskell test-suites in python, there's something missing!-)

Changed 6 years ago by simonmar

  • component changed from libraries/base to libraries/process
  • milestone changed from 6.8 branch to 6.10 branch

Changed 5 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

The new System.Process API has this.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Moderate (1 day) to Moderate (less than a day)
Note: See TracTickets for help on using tickets.