You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Lo más sencillo es, haz un fichero. SI dentro del fichero te encuentras la palabra STOP (o la que se te ocurra), pues significa que otro programa ha escrito en él para que pares el bucle. Dentro del bucle simplemente te dedicas a abrir el fichero y leerlo. En caso de que esté vacío sigues en el bucle y si no pues continuas en él. Quien diche creas un archivo dice crea un FIFO.
Gracias por la idea @You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login, una solución simple
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
@You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
La duda sobre como parar el bucle de una manera sencilla seria la que te propuso @You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login, pero si deseas comunicarte entre procesos te recomiendo que leas la comunicación entre procesos.
Información: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Y gracias por la información @You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login, le echaré un vistazo.

