Skip to content

Commit

Permalink
use explorer rather than cmd start in Windows edit command (closes Ju…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 6, 2017
1 parent 8d657c4 commit 571a131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/interactiveutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function edit(path::AbstractString, line::Integer=0)
elseif startswith(name, "notepad++")
cmd = line != 0 ? `$command $path -n$line` : `$command $path`
elseif is_windows() && (name == "start" || name == "open")
cmd = `cmd /c start /b $path`
cmd = `explorer $path`
line_unsupported = true
elseif is_apple() && (name == "start" || name == "open")
cmd = `open -t $path`
Expand Down

0 comments on commit 571a131

Please sign in to comment.