Use -- to separate args and URL

Fixes #10
This commit is contained in:
Ryze 2024-02-14 10:52:24 +03:00
parent 44cf917ecf
commit 550bd3a818

View file

@ -75,6 +75,7 @@ impl Command {
command.stdout(process::Stdio::null()); command.stdout(process::Stdio::null());
command.stderr(process::Stdio::null()); command.stderr(process::Stdio::null());
command.args(args); command.args(args);
command.arg("--");
command.arg(url); command.arg(url);
// NOTE: On Windows, browser spawns process into a Job object. // NOTE: On Windows, browser spawns process into a Job object.