-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
🐛 Bug Description
getcwd() system call fails in certain scenarios when using command-stream, particularly when the current directory has been deleted or permissions have changed.
🔴 Impact
- Scripts fail in CI/CD environments
- Directory operations become unreliable
- Error messages are cryptic and hard to debug
📝 Problem Details
The error "getcwd() failed" occurs when:
- Current directory was deleted after process started
- Permissions changed on parent directories
- Working in temporary directories that get cleaned up
🔧 Workaround
Always use absolute paths and avoid relying on current working directory.
🔗 References
Metadata
Metadata
Assignees
Labels
No labels