run interactive python shell from bash
This commit is contained in:
parent
e0b15e0804
commit
40e9624a98
@ -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 &
|
||||||
|
Loading…
Reference in New Issue
Block a user