We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
explorer
1 parent f8de449 commit 1518362Copy full SHA for 1518362
1 file changed
plotly/src/plot.rs
@@ -864,8 +864,8 @@ impl Plot {
864
#[cfg(target_os = "windows")]
865
fn show_with_default_app(temp_path: &str) {
866
use std::process::Command;
867
- Command::new("cmd")
868
- .args(&["/C", "start", &format!(r#"{}"#, temp_path)])
+ Command::new("explorer")
+ .arg(temp_path)
869
.spawn()
870
.expect(DEFAULT_HTML_APP_NOT_FOUND);
871
}
0 commit comments