Why can't I used an exported bash function in a python3 subprocess?

后端 未结 0 758
我寻月下人不归
我寻月下人不归 2021-01-29 03:41

If I run the following in a bash shell:

function tempE(){ echo "This is tempE"; }
export -f tempE
python3 -c "import subprocess as sp; print(sp.run         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题