1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

make non-blocking IO on ptys work again; add -t option to test if command is still alive (13035)

This commit is contained in:
Sven Wischnowsky 2000-10-19 08:46:54 +00:00
parent f718ed6b52
commit 16d7e31ae8
6 changed files with 55 additions and 17 deletions

View file

@ -16,7 +16,7 @@ comptestinit () {
(( OPTIND > 1 )) && shift $(( OPTIND - 1 ))
export PS1="<PROMPT>"
zpty zsh "$comptest_zsh" -f
zpty -b zsh "$comptest_zsh" -f
zpty -r zsh log1 "*<PROMPT>*" || {
print "first prompt hasn't appeared."