Closed GoogleCodeExporter closed 8 years ago
Sorry, it's not a defect but an Enhancement (I don't know how to modify the
type of the issue)
Original comment by LRenault...@gmail.com
on 14 Nov 2011 at 5:58
So sometimes the outputs will contain the same information? (duplicated)
So the request is to process errorStream separately in the Result Object right?
Original comment by Stericso...@gmail.com
on 14 Nov 2011 at 6:05
Original comment by Stericso...@gmail.com
on 14 Nov 2011 at 6:08
I don't think it will make duplicates but as an example:
- If I send a "ls /system" with success, it will return me the list of files
and directory through inputstream.
- If I send a "ls /sistem" it will return me an error "ls: /sistem: No such
file or directory" through errorStream.
In the current state of your process method (correct me if I'm wrong), I can
not identify if the message is actually a regular output (result of the
command) or an error returned by the command.
So yes, the request would be to process errorStream separatly through a new
method (processError?) or a parameter in process indicating if the current
message is a regular output or an error output ^_^
Original comment by LRenault...@gmail.com
on 14 Nov 2011 at 6:17
Ah, great example. I will implement this.
Original comment by Stericso...@gmail.com
on 14 Nov 2011 at 7:02
I made a commit, can you tell me if this satisfies your request?
Original comment by Stericso...@gmail.com
on 14 Nov 2011 at 7:19
Your commit fully satisfy my request, thank you very much :)
Original comment by LRenault...@gmail.com
on 14 Nov 2011 at 8:48
Great, I will roll this out to stable and push out RootTools 1.4 this week then.
Original comment by Stericso...@gmail.com
on 14 Nov 2011 at 11:11
Original issue reported on code.google.com by
LRenault...@gmail.com
on 14 Nov 2011 at 5:56