DaemonMode.jl
DaemonMode.jl copied to clipboard
How to run from command line (chaining a second -e)?
Say I originally does julia -e "println(3)", since obviously I can't do:
julia --startup-file=no -e 'using DaemonMode; runargs()' -e "println(3)"
what's the correct syntax?
Well, actually the way to work with expression should be
julia -e 'using DaemonMode; runexpr("println(3)")'
But the idea of working you are proposing is nice, I actually did not know that you can use "-e" several times in Julia. I am going to add a method to allow that syntax.