can't execute programs using bluetooth
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [ ] I have included the logs (optional, but helps expedite the bug fix). Log gathering intructions
Describe the bug
Trying to execute a python script to scan for available Bluetooth BLE devices using the bleak library:
$ python3.12 -m pip install bleak
$ python3.12 <<EOF
import asyncio
from bleak import BleakScanner
async def main():
devices = await BleakScanner.discover()
for d in devices:
print(d)
asyncio.run(main())
EOF
[1] 53087 abort python3.12 <<<''
The same command works fine in macOS' Terminal.app
According to bleak documentation, this is a known issue of the terminal program:
https://bleak.readthedocs.io/en/latest/troubleshooting.html#bleak-crashes-with-sigabrt-on-macos
and the solution they suggest is to:
Ideally, the terminal application should be fixed by adding NSBluetoothAlwaysUsageDescription to the Info.plist file
it is also possible to manually add Warp to System Settings > Privacy & Security > Bluetooth, but with this cryptic error (just "abort") it makes a bad user experience IMHO.
To reproduce
Run the python code above after installing bleak.
Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
macOS
Operating system and version
macOS 15.5
Shell Version
No response
Current Warp version
v0.2025.06.20.22.47.stable_05
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
same