Skip to content

Commit

Permalink
fix command line args
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreeborn authored Jan 9, 2023
1 parent d1f8328 commit 1818494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plotly/src/plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ impl Plot {
fn show_with_default_app(temp_path: &str) {
use std::process::Command;
Command::new("cmd")
.arg(format!("/Cstart {}", temp_path))
.arg("/C")
.arg(format!("start {}", temp_path))
.spawn()
.expect(DEFAULT_HTML_APP_NOT_FOUND);
}
Expand Down

0 comments on commit 1818494

Please sign in to comment.