This commit is contained in:
olli 2024-06-27 10:24:14 +02:00
parent 4d0bf673a5
commit f0d521b49a

View File

@ -25,6 +25,9 @@ function g_python {
exec {g_fd_python_error}< "$python_error"
fi
# read potential old output
read -t 0.001 -u ${g_fd_python_out} g_python_result_old
# send python command
echo "$@
print('')" >&${g_fd_python_in}