Remember all those GUI automation questions you had? All they're doing is sending messages (its like signals) to programs.You can do this too. | [reply] |
I want to know how can i do it when the script is continuosly running?
| [reply] |
Whether or not the script is continuously running, makes no difference.
| [reply] |
that sort of architecture is typically but not always quite messy. instead design a third program, which has a proper interface to be a controller of sorts. that way you can get some sanity
the hardest line to type correctly is: stty erase ^H
| [reply] |
What you are attempting sounds a lot like an SNMP Trap send and receive system.
Configure snmpd to receive the trap, and call your 'a.pl'.
When you need to send the trap, have your 'b.pl' call snmptrap to send it.
Much complexity, features and cruft can be added, once the basic system starts working.
"XML is like violence: if it doesn't solve your problem, use more."
| [reply] |