From ef9c40613890dd9e0adc785e62e7e0da0cb004ef Mon Sep 17 00:00:00 2001 From: Ray Britton Date: Wed, 19 Aug 2020 20:55:07 +0100 Subject: [PATCH] Use correct program name for windows --- src/platforms/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/windows.rs b/src/platforms/windows.rs index a6c562f..4e05273 100644 --- a/src/platforms/windows.rs +++ b/src/platforms/windows.rs @@ -64,7 +64,7 @@ impl WifiInterface for Windows { /// Turn off the wireless network adapter. fn turn_off() -> Result<(), WifiError> { - let _output = Command::new("nmcli") + let _output = Command::new("netsh") .args(&[ "interface", "set",