[BUG] [APP CRASH] DASH Shell I/O Redirection/Pipe Issues
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
There appear to be issues with the current implementation for I/O handling of redirection and piping within the dash shell.
Attached are test cases that demonstrate the issues. Run them in a standard dash shell in a compatible unix environment (Linux, BSD, Cygwin, etc.) to see the expected output. Sleep commands have been added between commands to assist with determining where failures are occurring.
Test 1. Redirection Issues:
[ashell-redirect-pipe-test-1.sh](https://github.com/holzschu/a-shell/files/11327872/ashell-redirect-pipe-test-1.sh.txt)
Test 2. Piping Issues:
[ashell-redirect-pipe-test-2.sh](https://github.com/holzschu/a-shell/files/11327873/ashell-redirect-pipe-test-2.sh.txt)
Test 1 causes a-Shell to crash, and Test 2 produces incorrect output and causes a-Shell to hang or hang after attempting to run another command.
These test cases were tested on the latest version in TestFlight, version 1.11.4 (332).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.