-
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