File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -218,13 +218,12 @@ function process_options(opts::JLOptions)
218
218
global have_color = (opts. color == 1 )
219
219
global is_interactive = (opts. isinteractive != 0 )
220
220
while true
221
- # load ~/.juliarc file
222
- startup && load_juliarc ()
223
-
224
- # startup worker
221
+ # startup worker.
222
+ # opts.startupfile, opts.load, etc should should not be processed for workers.
225
223
if opts. worker != C_NULL
226
224
start_worker (unsafe_string (opts. worker)) # does not return
227
225
end
226
+
228
227
# add processors
229
228
if opts. nprocs > 0
230
229
addprocs (opts. nprocs)
@@ -233,6 +232,10 @@ function process_options(opts::JLOptions)
233
232
if opts. machinefile != C_NULL
234
233
addprocs (load_machine_file (unsafe_string (opts. machinefile)))
235
234
end
235
+
236
+ # load ~/.juliarc file
237
+ startup && load_juliarc ()
238
+
236
239
# load file immediately on all processors
237
240
if opts. load != C_NULL
238
241
@sync for p in procs ()
You can’t perform that action at this time.
0 commit comments