执行一个SHELL命令封装了subprocess的Popen方法, 支持超时判断,支持读取stdout和stderr Arguments: cmdstring {[type]} -- 命令字符创 Keyword Arguments: cwd {str} -- 运行命令时更改路径,如果被设定,子进程会直接先更改当前路径到cwd (default: {None}) timeout {str} -- 超时时间,秒,支持小数,精度0.1秒 (default: {None}) shell {bool} -- 是否通过sh
(cmdstring, cwd=None, timeout=None, shell=False)
source not stored for this graph (policy: none)