使用 python2
exitcode, output = commands.getstatusoutput(cmd)
发现 exitcode 有 8960/7168 这几个值;根据 man page https://curl.haxx.se/docs/manpage.html 中的记录,exitcode 目前最大值是 92 ;上网搜索了一下,只搜到这个
https://lost-contact.mit.edu/afs/ific.uv.es/project/atlas/software/ganga_old/install/4.4.10/reports/latest/html/coverage/summary/GangaAtlas/DQCurl.py.html
发现,8960=35*(2**8); 7168=28*(2*8); 都是小 code 左移 8 位就得到大 code。肯定有不可告人的秘密,有人知道咋回事吗?
exitcode, output = commands.getstatusoutput(cmd)
发现 exitcode 有 8960/7168 这几个值;根据 man page https://curl.haxx.se/docs/manpage.html 中的记录,exitcode 目前最大值是 92 ;上网搜索了一下,只搜到这个
https://lost-contact.mit.edu/afs/ific.uv.es/project/atlas/software/ganga_old/install/4.4.10/reports/latest/html/coverage/summary/GangaAtlas/DQCurl.py.html
发现,8960=35*(2**8); 7168=28*(2*8); 都是小 code 左移 8 位就得到大 code。肯定有不可告人的秘密,有人知道咋回事吗?