Ccall to external app and have julia move on

I have a visualization application that is in C++ and julia is providing the data.
I want to be able to invoke the visualization application and have julia call it and then move on.

Right now, the visualization application (written in Qt) runs and julia waits for it to exit even though it returns nothing.

I tried using remotecall to the ccall function but it still waited on exit from the visualization tool.

Is there a way to call the c function and have julia move on?
Either through multi threading or telling julia not to wait on the result?

1 Like

I am having the same problem and am bummed to see no one was able to provide any pointers. Did you find a way to get julia to move on?

I’m sure there’s a better way, but you could always just open a new Julia process:

julia> open(`$(joinpath(Sys.BINDIR, "julia")) -e 'sleep(5)'`)
Process(`/home/rdeits/apps/julia-1.1.0/bin/julia -e 'sleep(5)'`, ProcessRunning)

Can’t you use @async?