summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension.js b/extension.js
index 718c92d..0a9b9d2 100644
--- a/extension.js
+++ b/extension.js
@@ -76,7 +76,7 @@ class BluetoothDevice {
_call_bluetoothctl(command) {
let btctl_command = `echo -e "${command}\\n" | bluetoothctl`;
- Util.spawn(['/bin/bash', '-c', btctl_command]);
+ Util.spawn(['/usr/bin/env', 'bash', '-c', btctl_command]);
}
}