Re: macros: return or exit
- From: "Uri Guttman" <uri@xxxxxxxxxxxxxxx>
- Date: Thu, 21 Jan 2010 14:33:20 -0500
"MG" == Marc Girod <marc.girod@xxxxxxxxx> writes:
MG> On Jan 21, 6:41 pm, "Uri Guttman" <u...@xxxxxxxxxxxxxxx> wrote:
>> it is irrelevant about which binary. the issue is how do you manage its
>> i/o via its stdio. that is the same problem for any binary subprocess
>> you want to run with its stdio. now you never answered the question
>> about which select function you meant.
MG> The C function that the cleartool binary does not use.
MG> I was not saying my code doing select in any way. I meant its *not*
MG> doing select.
MG> It may be me who do not understand...
MG> If I fork part of my script, there will be two instances sharing the
MG> same background process.
MG> I cannot see this work.
MG> Does it make better sense now?
not at all. when you fork, why not pass some flag to tell one of the
procs not to deal with the background process? in the other process,
close off the handles to that background process.
uri
--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
.
- Follow-Ups:
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- References:
- macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Ben Morrow
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Uri Guttman
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Uri Guttman
- Re: macros: return or exit
- From: Marc Girod
- macros: return or exit
- Prev by Date: Re: macros: return or exit
- Next by Date: How to taint a variable (for testing)
- Previous by thread: Re: macros: return or exit
- Next by thread: Re: macros: return or exit
- Index(es):
Relevant Pages
|