Skip to content

Commit e7ef29f

Browse files
committed
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 75c559c21fa28cafba9c9c2e6fdc87d2d8b55f57) (cherry picked from commit 9724553b50599d1ea8a6937c0697d6ca36bde597)
1 parent d1ca7f0 commit e7ef29f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/managers.jl

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

348348
any(c -> c == '"', exename) && throw(ArgumentError("invalid exename"))
349349

350-
remotecmd = shell_escape_wincmd(escape_microsoft_c_args(exename, exeflags...))
350+
remotecmd = shell_escape_wincmd(escape_microsoft_c_args(exename, exeflags...)::AbstractString)
351351
# change working directory
352352
if dir !== nothing && dir != ""
353353
any(c -> c == '"', dir) && throw(ArgumentError("invalid dir"))

0 commit comments

Comments
 (0)