View Issue Details

IDProjectCategoryView StatusLast Update
0003339JEDI VCL00 JVCL Componentspublic2006-04-16 15:58
ReporterremkobonteAssigned Toremkobonte 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.20 
Summary0003339: TJvCreateProcess: separate stdout/stderror
DescriptionFrom the newsgroup:

jvCreateprocess works okay but I am in position where I want stdout to go in
a buffered control on a form while anything from stderror I want to go to a
file. Modifying jvcreateprocess is harder than I imagined.
It seems to use duplicate_handle for stderror to stdoutput so only have one
reader?? Seems that would need
two readers? (Better would be stderr only redirected but seems you cant do
this?).
TagsNo tags attached.

Activities

obones

2006-04-04 05:17

administrator   ~0008873

Any news?

remkobonte

2006-04-16 15:57

developer   ~0009125

This is partly resolved in Rev. 1.31 of JvCreateProcess.pas.

That is, the component can now have a separate reader for the data a consoles writes to its standard output/error handles.

You cannot only redirect error. You could specify a 0 handle to be used as standard output for the console, but that would probably crash or deadlock the console process. But the component could be changed to just flush the data it read from the console.

Issue History

Date Modified Username Field Change
2005-12-04 07:08 remkobonte New Issue
2005-12-04 07:19 remkobonte Status new => assigned
2005-12-04 07:19 remkobonte Assigned To => remkobonte
2006-04-04 05:17 obones Note Added: 0008873
2006-04-04 05:17 obones Status assigned => feedback
2006-04-16 15:57 remkobonte Status feedback => resolved
2006-04-16 15:57 remkobonte Fixed in Version => 3.20
2006-04-16 15:57 remkobonte Resolution open => fixed
2006-04-16 15:57 remkobonte Note Added: 0009125