[Ace-users] [ace-users] Redirecting stdout

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Oct 5 09:15:24 CDT 2007


Hi Bruno,

>I ran into an ACE behavior which I don't understand.

Thanks very much for your email.  To ensure that we have proper
version/platform/compiler information, please make sure you fill out
the appropriate problem report form (PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

>I have a program developed using the ACE framework which contains a
>line printf("hello");
>
>When I run the program in a Linux environment, it prints "hello" to
>the console as expected.
>
>When I redirect stdout to a file (e.g. "myprogram > file") the string
>"hello" is written to the file as expected.
>
>However, when I pipe the output to some other process (e.g. "myprogram
>| cat") it appears that the string "hello" is never written into the
>pipe.
>
>Is this expected / explainable behavior? If so, is there a known way
>to make the pipe work?

It's really not clear what you are trying to do.  Please send a small
example that illustrates the problem.

Thanks,

Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list