Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: shell and output redirection

Re: OT: shell and output redirection

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Fri, 2 Jul 2004 15:04:40 -0400
Message-ID: <20040702190440.GC9281@mladen.wangtrading.com>

On 07/02/2004 02:50:44 PM, Tanel P?der wrote:
> Hi!
>
> When I redirect output from program a to program b using a shell pipe, when
> is the receiving procedure executed?

Programs are executed simultaneously. Pseudocode goes like this: create pipe
fork process 1 {

   open pipe for output
  exec program 1 }
fork process 2 {

   open pipe for input
   exec program 2 }

wait for the first one to complete.

-- 
Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.  No confidentiality or privilege is waived or lost by any mistransmission.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Jul 02 2004 - 14:01:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US