How about
open OTHER, "other |";
You could use fork, so one thread keeps an eye out for data from OTHER, while the other does other stuff, maybe interactive stuff. Once data arrives from OTHER, it is stored in a shared variable, so the main loop can make use of it.
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: reading output from another script
by TomDLux
in thread reading output from another script
by Octavian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |