run interactive python shell from bash

This commit is contained in:
olli 2024-03-24 11:38:16 +01:00
parent e0b15e0804
commit 40e9624a98

View File

@ -21,8 +21,6 @@ function g_python {
# do python # do python
local g_python_jobs local g_python_jobs
mapfile -t g_python_jobs < <(jobs -r) mapfile -t g_python_jobs < <(jobs -r)
#echo "Jobs $g_python_jobs"
#if jobs -r | grep -q python-pipeexec.py
if [[ $g_python_jobs =~ python-pipeexec.py ]] if [[ $g_python_jobs =~ python-pipeexec.py ]]
then then
echo $@ >${g_tmp}/${g_rnd}/python-in & echo $@ >${g_tmp}/${g_rnd}/python-in &