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"
subprocess.run(cmd, 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?