Use correct program name for windows
This commit is contained in:
@@ -64,7 +64,7 @@ impl WifiInterface for Windows {
|
|||||||
|
|
||||||
/// Turn off the wireless network adapter.
|
/// Turn off the wireless network adapter.
|
||||||
fn turn_off() -> Result<(), WifiError> {
|
fn turn_off() -> Result<(), WifiError> {
|
||||||
let _output = Command::new("nmcli")
|
let _output = Command::new("netsh")
|
||||||
.args(&[
|
.args(&[
|
||||||
"interface",
|
"interface",
|
||||||
"set",
|
"set",
|
||||||
|
|||||||
Reference in New Issue
Block a user