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:
parent
f718ed6b52
commit
16d7e31ae8
6 changed files with 55 additions and 17 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue