Skip to content

Commit

Permalink
clarify docs of shellexecute-on-windows feature (Byron#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 9, 2024
1 parent a65b733 commit 7652a30
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ include = ["src/**/*", "LICENSE.md", "README.md", "changelog.md"]
rust-version = "1.62"

[features]
## If enabled, link to `shell32` on Windows and use `ShellExecuteW` intead of a command invocation
## If enabled, link to `system` on Windows and use `ShellExecuteW` intead of a command invocation
## when launching something in 'detached' mode.
## That way, it should be possible to open currently opened (for writing) files as well.
##
## However, linking errors have been observed due to it where the one external function used here
## couldn't be found, which is why it was put behind a feature toggle.
##
## This feature is only effective on Windows.
##
## There may be other side-effects that when comparing to the command-based
## opening of paths, which is why this feature is opt-in.
shellexecute-on-windows = []

[[bin]]
Expand Down

0 comments on commit 7652a30

Please sign in to comment.