I am trying to start julia
(1) in interactive mode, i.e. with the REPL,
(2) loading a script, and
(3) passing command line arguments

I can accomplish (1) and (2) with
julia -i -L startup.jl
but I can't manage to pass additional arguments without producing an error.

juser@juliabox:~$ julia -i -L startup.jl foo bar
ERROR: could not open file /home/juser/foo
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
juser@juliabox:~$ echo $?
1

Is there any way I can accomplish this?

Reply via email to