On Sun, Jun 15, 2014 at 4:54 PM, Alireza Nejati <[email protected]> wrote:
> It's my impression that to do this sort of stuff you should use Julia's > built-in process creation/communication facilities. Have a look at this > page: http://docs.julialang.org/en/release-0.1/manual/parallel-computing/ > That's a pretty old version of the manual. You're better off with http://julia.readthedocs.org/en/latest/manual/parallel-computing/ Cheers, Kevin > > On Monday, June 16, 2014 10:57:28 AM UTC+12, Aerlinger wrote: >> >> I'm writing a package to allow a Julia program to asynchronously listen >> and respond to file change events on disk, but I've hit a bit of a >> stumbling block. I need a way to fork a Julia process and have it listen to >> specific OS system calls such as select, and then notify the parent process >> of the event. This is sometimes called 'popen' in other languages ( >> http://www.ruby-doc.org/core-2.1.2/IO.html#method-c-popen). I'm aware >> that there are a bunch of functions for handling general IO ( >> http://julia.readthedocs.org/en/latest/stdlib/base/#i-o) but they don't >> quite give me the control and interprocess communication that I'm looking >> for. There was also a short discussion about this a couple of years ago: >> https://groups.google.com/forum/#!topic/julia-dev/l-4HLYX2qSI. Was >> wondering if there have been any developments or if anyone else has some >> insight on this capability. >> >> Thanks! >> >
