Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix open_url on Windows #73

Merged
merged 1 commit into from
Nov 19, 2018
Merged

Fix open_url on Windows #73

merged 1 commit into from
Nov 19, 2018

Conversation

traversaro
Copy link
Contributor

In Julia 1.0.2 run seems not be be working with command prompt builtin commands.

In particular I get this error:

julia> vis = Visualizer()
MeshCat Visualizer with path /meshcat

julia> open(vis)
[ Info: Serving MeshCat visualizer at http://127.0.0.1:8700
[ Info: Listening on: Sockets.InetAddr{Sockets.IPv4}(ip"127.0.0.1", 0x21fc)
Could not open browser automatically: Base.IOError("could not spawn `start http://127.0.0.1:8700`: n
o such file or directory (ENOENT)", -4058)
Please open the following URL in your browser:
http://127.0.0.1:8700

Explicitly launching the command prompt executable cmd.exe that executes the builtin start command with the /C option seems to be working fine instead. See JuliaLang/julia#23597 for a related discussion.

In Julia 1.0.2 `run` seems not be be working with command prompt builtin commands
@traversaro
Copy link
Contributor Author

cc @prajval10

@rdeits
Copy link
Owner

rdeits commented Nov 19, 2018

Thanks!

@rdeits rdeits merged commit 43bc0cb into rdeits:master Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants