File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 5151(defvar hy-shell--redirect-timeout 0.5
5252 " Seconds (float) to allow redirection commands to complete before quitting." )
5353
54+ (defvar hy-shell--startup-timeout 3
55+ " Seconds (float) for `accept-process-output' to wait for REPL banner text.
56+
57+ `hy-shell--redirect-check-prompt-regexp' may throw an error if
58+ `accept-process-output' (called in `hy-shell--make-comint' ) times
59+ out before consuming the REPL banner text." )
60+
5461; ;;; Managed
5562
5663(defconst hy-shell--name " Hy"
142149 (inferior-hy-mode))
143150
144151 ; ; Get shell's initial output/prompt
145- (accept-process-output (hy-shell--current-process) 0.5 )
152+ (accept-process-output (hy-shell--current-process) hy-shell--startup-timeout )
146153
147154 (hy-shell--current-process))))
148155
You can’t perform that action at this time.
0 commit comments