fixes
This commit is contained in:
parent
4d0bf673a5
commit
f0d521b49a
@ -24,7 +24,10 @@ function g_python {
|
|||||||
exec {g_fd_python_out}< "$python_output"
|
exec {g_fd_python_out}< "$python_output"
|
||||||
exec {g_fd_python_error}< "$python_error"
|
exec {g_fd_python_error}< "$python_error"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# read potential old output
|
||||||
|
read -t 0.001 -u ${g_fd_python_out} g_python_result_old
|
||||||
|
|
||||||
# send python command
|
# send python command
|
||||||
echo "$@
|
echo "$@
|
||||||
print('')" >&${g_fd_python_in}
|
print('')" >&${g_fd_python_in}
|
||||||
|
Loading…
Reference in New Issue
Block a user