Put only last stdout of a bash file to a Python variable

后端 未结 0 1896
闹比i
闹比i 2021-01-29 17:35

prova.sh contains:

#!/bin/bash
echo "Output that I don\'t want."
echo "Output that I don\'t want."
echo "Output that I don\'t want."         


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