python broken pipe

This commit is contained in:
olli 2024-03-26 17:33:22 +01:00
parent 1c6d547bb2
commit 654123516d

View File

@ -43,7 +43,7 @@ function g_python {
then then
until [ -n "$g_python_result" ] until [ -n "$g_python_result" ]
do do
read -t 0.1 g_python_result <${g_tmp}/${g_rnd}/python-out read -t 0.3 g_python_result <${g_tmp}/${g_rnd}/python-out
[ -s "${g_tmp}/${g_rnd}/python-error" ] && break [ -s "${g_tmp}/${g_rnd}/python-error" ] && break
done done
unset g_python_waitforoutput unset g_python_waitforoutput