Opened 8 years ago

Last modified 8 years ago

#6576 enhancement new

ProcessEndpoint should provide a way to capture the standard error.

Reported by: Tom Prince Owned by:
Priority: normal Milestone:
Component: core Keywords: endpoint process
Cc: Branch:
Author:

Description

Some commands (such as git apply) only ever write to stderr, so there is currently no way to get the output from them using ProcessEndpoint.

Change History (1)

comment:1 Changed 8 years ago by Jean-Paul Calderone

It should probably provide multiple different ways. I hadn't even considered commands that *only* write to stderr before. So perhaps two new modes of operation could be:

  • mix stdout and stderr into the same stream and pass it to dataReceived
  • discard stdout and just pass stderr to the protocol

Although having written that, I suppose that for commands like git apply they come to the same thing.

Note: See TracTickets for help on using tickets.