On Wed, Dec 16, 2020 at 11:50:29AM +0800, Liu Yinsi wrote:
+cmd += ['sh', '-c', 'sh run.sh']
^^ 'sh' is unnecessary.
this sh is required, you can use sh run.sh or ./run.sh
sh -c is use to run the later string as a command.
Thanks, Luan Shengde
Thanks, Yinsi
+system(*cmd)
2.23.0