0

我想使用以下命令使用 STAF 运行 python 脚本(test.py),但获取重新运行代码 1

H:\>STAF 192.168.252.81 process START SHELL COMMAND "python /opt/test/test.p
" PARAMS "3344" wait returnstdout
Response
--------
{
  Return Code: 1
  Key        : <None>
  Files      : [
    {
      Return Code: 0
      Data       :
    }
   ]
}
4

1 回答 1

0

检查远程机器是否已打开trust list,然后在没有“PARAMS”的情况下尝试它或在 python 脚本中硬编码该值。

于 2013-12-03T01:07:53.317 回答