Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmurthy committed Mar 4, 2015
1 parent 400fa31 commit 16f121b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/clustermanager/simple/UnixDomainCM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function launch(manager::UnixDomainCM, params::Dict, launched::Array, c::Conditi
for i in 1:manager.np
sockname = tempname()
try
cmd = `$(params[:exename]) --worker=custom $(@__FILE__) worker $sockname`
cmd = `$(params[:exename]) --worker=custom $(@__FILE__) udwrkr $sockname`
io, pobj = open (cmd, "r")

wconfig = WorkerConfig()
Expand Down Expand Up @@ -81,7 +81,7 @@ function print_worker_stdout(io, pid)
end
end

if (length(ARGS) > 0) && (ARGS[1] == "worker")
if (length(ARGS) > 0) && (ARGS[1] == "udwrkr")
# script has been launched as a worker
start_worker(ARGS[2])
end

0 comments on commit 16f121b

Please sign in to comment.