F# script to application
        Posted  
        
            by sudaly
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sudaly
        
        
        
        Published on 2010-06-11T21:37:57Z
        Indexed on 
            2010/06/11
            21:42 UTC
        
        
        Read the original article
        Hit count: 275
        
F#
I have written two small scripts,
First one maintains a dictionary of current stock prices for a set of securities. I am using recursion to listen to a named pipe. Whenever there is something available on the name pipe, it updates the security price and goes right back and start listening to the pipe.
The second one periodically reads the stock price of some security from the price cache of the first program and performs come calculation.
But I have no idea how to make these two programs communicate. I somehow need to make my second programs start the first program and let it run in the background and get the price whenever it needs it.
Can someone point me in the right direction?
Thank you, -Niran
© Stack Overflow or respective owner