Rather than going the "forking" way, cannot you just package each of your processes into a subroutine and call both subroutines one after the other and give them the contents of the record to work with as a parameter?
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: passing a file content from one process to another process.
by CountZero
in thread passing a file content from one process to another process.
by avanta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |