How about a FIFO? Use mkfifo to create a named pipe inside your
ephemeral filesystem, then launch your two child processes. One can
write to it, the other can read. So using your bash example:
$ heroku run bash
~ $ mkfifo myfifo
~ $ cat myfifo | ./run_listener_process
~ $ ./run_other_process_that_sends_data > myfifo
Adam
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.