linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unnamed pipe and independent process
@ 2010-12-20  4:37 ratheesh k
  2010-12-20  5:58 ` Bogdan Cristea
  0 siblings, 1 reply; 4+ messages in thread
From: ratheesh k @ 2010-12-20  4:37 UTC (permalink / raw)
  To: linux-c-programming

is it possible to  communicate between two independent process using
unnamed pipes in linux ?

-Ratheesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unnamed pipe and independent process
  2010-12-20  4:37 unnamed pipe and independent process ratheesh k
@ 2010-12-20  5:58 ` Bogdan Cristea
  2010-12-20  6:21   ` ratheesh k
  0 siblings, 1 reply; 4+ messages in thread
From: Bogdan Cristea @ 2010-12-20  5:58 UTC (permalink / raw)
  To: ratheesh k, linux-c-programming

On Monday 20 December 2010 06:37:54 you wrote:
> is it possible to  communicate between two independent process using
> unnamed pipes in linux ?
> 
> -Ratheesh
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-c-programming" in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

This is exactly why named pipes (fifos) are provided.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unnamed pipe and independent process
  2010-12-20  5:58 ` Bogdan Cristea
@ 2010-12-20  6:21   ` ratheesh k
  2010-12-20  6:27     ` Bogdan Cristea
  0 siblings, 1 reply; 4+ messages in thread
From: ratheesh k @ 2010-12-20  6:21 UTC (permalink / raw)
  To: Bogdan Cristea; +Cc: linux-c-programming

Could i use popen in some way ? somebody told me there is way around .




On Mon, Dec 20, 2010 at 11:28 AM, Bogdan Cristea <cristeab@gmail.com> wrote:
> On Monday 20 December 2010 06:37:54 you wrote:
>> is it possible to  communicate between two independent process using
>> unnamed pipes in linux ?
>>
>> -Ratheesh
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-c-programming" in the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> This is exactly why named pipes (fifos) are provided.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unnamed pipe and independent process
  2010-12-20  6:21   ` ratheesh k
@ 2010-12-20  6:27     ` Bogdan Cristea
  0 siblings, 0 replies; 4+ messages in thread
From: Bogdan Cristea @ 2010-12-20  6:27 UTC (permalink / raw)
  To: ratheesh k, linux-c-programming

On Monday 20 December 2010 08:21:28 you wrote:
> Could i use popen in some way ? somebody told me there is way around .

It is possible to pass a file descriptor through UNIX sockets between 
unrelated processes. You could pass using this approach the file descriptors 
returned by popen.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-20  6:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20  4:37 unnamed pipe and independent process ratheesh k
2010-12-20  5:58 ` Bogdan Cristea
2010-12-20  6:21   ` ratheesh k
2010-12-20  6:27     ` Bogdan Cristea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).