Hey Ed, Hackers
I've been experiencing a weird issue where when I invoke a program
via script and it exits after much output, it seems to have its
The data winds up not on the screen or in the log file.
I have a link here to a set of scripts that will easily
provoke this issue.
The shell script "test.sh" calls the perl script under "script"
then makes sure that the expected number of characters are emitted.
If you run "test.sh" with an argument, it will have the perl script
"sleep(1)", then you will not see the problem.
As a stop-gap, I'm probably going to add the sleep(1) to my code at
work, but I'm worried that:
1) I'm dumb and am doing something really silly and ought to be mocked
for it. :)
2) Something is broken in the tty system?
3) Script has more bugs than I had originally thoughts.
Anyhow, to test this:
1) download the suite.
2) run "sh test.sh" to see the bug
3) run "sh test.sh yes" to not see the bug (sleep called)
Here's a link to the scripts:
- Alfred Perlstein
.- AMA, VMOA #5191, 03 vmax, 92 gs500, 85 ch250
.- FreeBSD committer