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

use explorer rather than cmd start in Windows edit command #20479

Closed
wants to merge 3 commits into from

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Feb 6, 2017

As discussed in #20364

@stevengj stevengj added the system:windows Affects only Windows label Feb 6, 2017
@ararslan ararslan added the system:MS-DOS See the Windows label label Feb 7, 2017
@tkelman
Copy link
Contributor

tkelman commented Feb 7, 2017

It looks like setting JULIA_EDITOR to start was something the old batch files used to do, so not something we need to worry about any more.

@stevengj
Copy link
Member Author

stevengj commented Feb 7, 2017

Can we get rid of the start check on MacOS too?

@stevengj
Copy link
Member Author

Good to merge?

@tkelman
Copy link
Contributor

tkelman commented Feb 10, 2017

did anyone test this locally?

@stevengj
Copy link
Member Author

Is there a way to download the AppVeyor build? I can run on Windows, but I can't build Julia on Windows.

@tkelman
Copy link
Contributor

tkelman commented Feb 10, 2017

appveyor doesn't upload artifacts. you can try running the same script that appveyor does. or if this were a branch in JuliaLang we could trigger the buildbot on it

@tkelman
Copy link
Contributor

tkelman commented Feb 10, 2017

since this only touches julia code, build_sysimg should be enough. even eval into base should work in the post-265 world, though might want to add some debugging prints while testing to be sure the new version is what's used

@stevengj
Copy link
Member Author

Can I move the branch to JuliaLang without opening a new PR?

@tkelman
Copy link
Contributor

tkelman commented Feb 10, 2017

sure, doesn't need to have an open pr, just a sha that can be fetched from the JuliaLang repo

@vtjnash
Copy link
Member

vtjnash commented Feb 10, 2017

I tested that using explorer will indeed launch programs as desired. Although it also always exits with an error code (1), so ymmv. (also, unlike all of the other options, it may execute the item instead of edit it)

@stevengj
Copy link
Member Author

stevengj commented Feb 10, 2017

@vtjnash, would you prefer the ShellExecute method (#20478) instead, then? It provides more informative error output (succeeding if the file was opened), and distinguishes between opening and executing the file. It also avoids passing the pathname as a command-line argument entirely.

@stevengj
Copy link
Member Author

Closing in favor of #20571, then.

@stevengj stevengj closed this Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:MS-DOS See the Windows label system:windows Affects only Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants