Skip to content

Commit 9724553

Browse files
authored
Fix a JET error around matching methods for shell_escape_wincmd(...) (#174)
``` ┌ @ Distributed /workpath/Distributed.jl/src/managers.jl:323 │ no matching method found `shell_escape_wincmd(::Nothing)` (1/2 union split): remotecmd = Distributed.shell_escape_wincmd(Distributed.escape_microsoft_c_args(tuple(exename::Any)::Tuple{Any}, exeflags::Cmd...)::Union{Nothing, String}) └──────────────────── ``` (cherry picked from commit 75c559c)
1 parent d65a996 commit 9724553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/managers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function launch_on_machine(manager::SSHManager, machine::AbstractString, cnt, pa
320320

321321
any(c -> c == '"', exename) && throw(ArgumentError("invalid exename"))
322322

323-
remotecmd = shell_escape_wincmd(escape_microsoft_c_args(exename, exeflags...))
323+
remotecmd = shell_escape_wincmd(escape_microsoft_c_args(exename, exeflags...)::AbstractString)
324324
# change working directory
325325
if dir !== nothing && dir != ""
326326
any(c -> c == '"', dir) && throw(ArgumentError("invalid dir"))

0 commit comments

Comments
 (0)