-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
🐛 Bug Description
File paths containing spaces fail to be properly quoted when interpolated through command-stream, causing commands to interpret them as multiple arguments.
🔴 Impact
- Operations on files with spaces in names fail
- Common on Windows/Mac with default folders like "Program Files"
- Affects file operations, directory navigation, and path handling
📝 Problem Example
```javascript
const filePath = "/Users/john/My Documents/report.txt";
// ❌ Fails - interpreted as multiple arguments
await
// Shell sees: cat /Users/john/My Documents/report.txt
// Interprets as: cat /Users/john/My + Documents/report.txt
```
🔧 Workaround
Manually quote the path:
```javascript
await
```
🔗 References
Metadata
Metadata
Assignees
Labels
No labels