When passing CLI arguments, julia handles spaces within quotation marks. That is,
julia main.jl arg1 "arg2 is quoted"
will have
ARGS = ["arg1", "arg2 is quoted"]
while when passed via DaemonMode,
ARGS = ["arg1", "arg2", "is", "quoted", "arg3"]
I believe the bug is on this line:
|
args = split(args_str, " ") |