Calling Julia from Python with subprocess

I am trying to call a Julia script from a Python script using the subprocess module from the Python standard library (I tried using PyJulia but couldn’t get it to run), as follows:

cmd = "foo.jl bar"   , shell = True) 

However this seems to be very slow, similar to launching the Julia REPL from the command line. Is there any way to make this quicker?

This will include compilation time for your script each time you run it.
I think PyJulia should be the way to go, what issues did you encounter?