Standard in (stdin) behavior. (At your convenience)

K nnoydb at excite.com
Thu Sep 30 09:11:13 EDT 2004



Okay, I am experiencing a oddity I cannot explaine.  As I have reported on several occasions I have created a external that lanuches a process simular to CreateProcess in Windows.  This external provides stdin and stdout handles to be used by the parent and child for interprocess communication.  Currently I have a "child" stand-alone containing a button and a field.  The button contains a simple mouseUp script 'read from stdin until ':''.   The "parent" (after child creation) calls the external to write a message to the "child" stdin "Hello:".  This should be simple but the "child" constantly returns with nothing when using  the 'read from' syntax.  Why would this be? I have attempting to pipe in text files via command line (program <file.txt) this works.  Do RR and RR compiled programs use a os method that does not support descriptors create using 'pipe'?

Any assistance would be greatly appreciated,
Kevin



-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the use-livecode mailing list