Tornado 6.0 Documentation
internally. To capture standard error in the result, use stderr=STDOUT. >>> check_output(["/bin/sh", "-c", ... "ls -l non_existent_file ; exit 0"], ... stderr=STDOUT) 'cat: /bin/junk: No such file or directory') >>> subprocess.getstatusoutput('/bin/junk') (127, 'sh: /bin/junk: not found') >>> subprocess.getstatusoutput('/bin/kill $$') (-15, '') """ try: the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
internally. To capture standard error in the result, use stderr=STDOUT. >>> check_output(["/bin/sh", "-c", ... "ls -l non_existent_file ; exit 0"], ... stderr=STDOUT) 'cat: /bin/junk: No such file or directory') >>> subprocess.getstatusoutput('/bin/junk') (127, 'sh: /bin/junk: not found') >>> subprocess.getstatusoutput('/bin/kill $$') (-15, '') """ try: the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.2 Documentation
html#float]) – Timestamp for If-Modified-Since header follow_redirects (bool [h d h l b f h l b l]) Sh ld di t [https://docs.python.org/3/library/functions.html#bool]) – Should redirect be followed automatically0 码力 | 407 页 | 385.03 KB | 1 年前3
Tornado 6.4 Documentation
html#float]) – Timestamp for If-Modified-Since header follow_redirects (bool [h d h l b f h l b l]) Sh ld di t [https://docs.python.org/3/library/functions.html#bool]) – Should redirect be followed automatically0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
html#float]) – Timestamp for If-Modified-Since header follow_redirects (bool [h d h l b f h l b l]) Sh ld di t [https://docs.python.org/3/library/functions.html#bool]) – Should redirect be followed automatically0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
html#float]) – Timestamp for If-Modified-Since header follow_redirects (bool [h d h l b f h l b l]) Sh ld di t [https://docs.python.org/3/library/functions.html#bool]) – Should redirect be followed automatically0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
html#float]) – Timestamp for If-Modified-Since header follow_redirects (bool [h d h l b f h l b l]) Sh ld di t [https://docs.python.org/3/library/functions.html#bool]) – Should redirect be followed automatically0 码力 | 423 页 | 398.18 KB | 1 年前3
共 7 条
- 1













