ofs | hex dump | ascii |
---|
0000 | 03 f3 0d 0a 2f 5c fc 55 63 00 00 00 00 00 00 00 00 04 00 00 00 40 00 00 00 73 69 00 00 00 64 00 | ..../\.Uc............@...si...d. |
0020 | 00 5a 00 00 64 01 00 64 02 00 6c 01 00 6d 02 00 5a 02 00 01 65 02 00 64 03 00 64 04 00 64 05 00 | .Z..d..d..l..m..Z...e..d..d..d.. |
0040 | 83 01 01 01 5b 02 00 64 06 00 64 07 00 64 08 00 67 03 00 5a 03 00 64 09 00 84 00 00 5a 04 00 64 | ....[..d..d..d..g..Z..d.....Z..d |
0060 | 0a 00 84 00 00 5a 05 00 64 0b 00 84 00 00 5a 06 00 64 0c 00 84 00 00 5a 07 00 64 0d 00 84 00 00 | .....Z..d.....Z..d.....Z..d..... |
0080 | 5a 08 00 64 0e 00 53 28 0f 00 00 00 73 2d 02 00 00 45 78 65 63 75 74 65 20 73 68 65 6c 6c 20 63 | Z..d..S(....s-...Execute.shell.c |
00a0 | 6f 6d 6d 61 6e 64 73 20 76 69 61 20 6f 73 2e 70 6f 70 65 6e 28 29 20 61 6e 64 20 72 65 74 75 72 | ommands.via.os.popen().and.retur |
00c0 | 6e 20 73 74 61 74 75 73 2c 20 6f 75 74 70 75 74 2e 0a 0a 49 6e 74 65 72 66 61 63 65 20 73 75 6d | n.status,.output...Interface.sum |
00e0 | 6d 61 72 79 3a 0a 0a 20 20 20 20 20 20 20 69 6d 70 6f 72 74 20 63 6f 6d 6d 61 6e 64 73 0a 0a 20 | mary:.........import.commands... |
0100 | 20 20 20 20 20 20 6f 75 74 74 65 78 74 20 3d 20 63 6f 6d 6d 61 6e 64 73 2e 67 65 74 6f 75 74 70 | ......outtext.=.commands.getoutp |
0120 | 75 74 28 63 6d 64 29 0a 20 20 20 20 20 20 20 28 65 78 69 74 73 74 61 74 75 73 2c 20 6f 75 74 74 | ut(cmd)........(exitstatus,.outt |
0140 | 65 78 74 29 20 3d 20 63 6f 6d 6d 61 6e 64 73 2e 67 65 74 73 74 61 74 75 73 6f 75 74 70 75 74 28 | ext).=.commands.getstatusoutput( |
0160 | 63 6d 64 29 0a 20 20 20 20 20 20 20 6f 75 74 74 65 78 74 20 3d 20 63 6f 6d 6d 61 6e 64 73 2e 67 | cmd)........outtext.=.commands.g |
0180 | 65 74 73 74 61 74 75 73 28 66 69 6c 65 29 20 20 23 20 72 65 74 75 72 6e 73 20 6f 75 74 70 75 74 | etstatus(file)..#.returns.output |
01a0 | 20 6f 66 20 22 6c 73 20 2d 6c 64 20 66 69 6c 65 22 0a 0a 41 20 74 72 61 69 6c 69 6e 67 20 6e 65 | .of."ls.-ld.file"..A.trailing.ne |
01c0 | 77 6c 69 6e 65 20 69 73 20 72 65 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 20 6f 75 74 70 75 74 | wline.is.removed.from.the.output |
01e0 | 20 73 74 72 69 6e 67 2e 0a 0a 45 6e 63 61 70 73 75 6c 61 74 65 73 20 74 68 65 20 62 61 73 69 63 | .string...Encapsulates.the.basic |
0200 | 20 6f 70 65 72 61 74 69 6f 6e 3a 0a 0a 20 20 20 20 20 20 70 69 70 65 20 3d 20 6f 73 2e 70 6f 70 | .operation:........pipe.=.os.pop |
0220 | 65 6e 28 27 7b 20 27 20 2b 20 63 6d 64 20 2b 20 27 3b 20 7d 20 32 3e 26 31 27 2c 20 27 72 27 29 | en('{.'.+.cmd.+.';.}.2>&1',.'r') |
0240 | 0a 20 20 20 20 20 20 74 65 78 74 20 3d 20 70 69 70 65 2e 72 65 61 64 28 29 0a 20 20 20 20 20 20 | .......text.=.pipe.read()....... |
0260 | 73 74 73 20 3d 20 70 69 70 65 2e 63 6c 6f 73 65 28 29 0a 0a 20 5b 4e 6f 74 65 3a 20 20 69 74 20 | sts.=.pipe.close()...[Note:..it. |
0280 | 77 6f 75 6c 64 20 62 65 20 6e 69 63 65 20 74 6f 20 61 64 64 20 66 75 6e 63 74 69 6f 6e 73 20 74 | would.be.nice.to.add.functions.t |
02a0 | 6f 20 69 6e 74 65 72 70 72 65 74 20 74 68 65 20 65 78 69 74 20 73 74 61 74 75 73 2e 5d 0a 69 ff | o.interpret.the.exit.status.].i. |
02c0 | ff ff ff 28 01 00 00 00 74 08 00 00 00 77 61 72 6e 70 79 33 6b 73 55 00 00 00 74 68 65 20 63 6f | ...(....t....warnpy3ksU...the.co |
02e0 | 6d 6d 61 6e 64 73 20 6d 6f 64 75 6c 65 20 68 61 73 20 62 65 65 6e 20 72 65 6d 6f 76 65 64 20 69 | mmands.module.has.been.removed.i |
0300 | 6e 20 50 79 74 68 6f 6e 20 33 2e 30 3b 20 75 73 65 20 74 68 65 20 73 75 62 70 72 6f 63 65 73 73 | n.Python.3.0;.use.the.subprocess |
0320 | 20 6d 6f 64 75 6c 65 20 69 6e 73 74 65 61 64 74 0a 00 00 00 73 74 61 63 6b 6c 65 76 65 6c 69 02 | .module.insteadt....stackleveli. |
0340 | 00 00 00 74 0f 00 00 00 67 65 74 73 74 61 74 75 73 6f 75 74 70 75 74 74 09 00 00 00 67 65 74 6f | ...t....getstatusoutputt....geto |
0360 | 75 74 70 75 74 74 09 00 00 00 67 65 74 73 74 61 74 75 73 63 01 00 00 00 02 00 00 00 04 00 00 00 | utputt....getstatusc............ |
0380 | 43 00 00 00 73 33 00 00 00 64 01 00 64 02 00 6c 00 00 7d 01 00 7c 01 00 6a 01 00 64 03 00 74 02 | C...s3...d..d..l..}..|..j..d..t. |
03a0 | 00 64 04 00 83 03 00 01 74 03 00 64 05 00 74 04 00 7c 00 00 83 01 00 17 83 01 00 53 28 06 00 00 | .d......t..d..t..|.........S(... |
03c0 | 00 73 2d 00 00 00 52 65 74 75 72 6e 20 6f 75 74 70 75 74 20 6f 66 20 22 6c 73 20 2d 6c 64 20 3c | .s-...Return.output.of."ls.-ld.< |
03e0 | 66 69 6c 65 3e 22 20 69 6e 20 61 20 73 74 72 69 6e 67 2e 69 ff ff ff ff 4e 73 22 00 00 00 63 6f | file>".in.a.string.i....Ns"...co |
0400 | 6d 6d 61 6e 64 73 2e 67 65 74 73 74 61 74 75 73 28 29 20 69 73 20 64 65 70 72 65 63 61 74 65 64 | mmands.getstatus().is.deprecated |
0420 | 69 02 00 00 00 73 06 00 00 00 6c 73 20 2d 6c 64 28 05 00 00 00 74 08 00 00 00 77 61 72 6e 69 6e | i....s....ls.-ld(....t....warnin |
0440 | 67 73 74 04 00 00 00 77 61 72 6e 74 12 00 00 00 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 | gst....warnt....DeprecationWarni |
0460 | 6e 67 52 03 00 00 00 74 05 00 00 00 6d 6b 61 72 67 28 02 00 00 00 74 04 00 00 00 66 69 6c 65 52 | ngR....t....mkarg(....t....fileR |
0480 | 05 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 | ....(....(....sO.../buildbot/tmp |
04a0 | 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 | /buildhost/install/prebuilt/linu |
04c0 | 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e | x-x86_64/lib/python2.7/commands. |
04e0 | 70 79 52 04 00 00 00 25 00 00 00 73 06 00 00 00 00 02 0c 01 13 01 63 01 00 00 00 01 00 00 00 02 | pyR....%...s..........c......... |
0500 | 00 00 00 43 00 00 00 73 0e 00 00 00 74 00 00 7c 00 00 83 01 00 64 01 00 19 53 28 02 00 00 00 73 | ...C...s....t..|.....d...S(....s |
0520 | 3d 00 00 00 52 65 74 75 72 6e 20 6f 75 74 70 75 74 20 28 73 74 64 6f 75 74 20 6f 72 20 73 74 64 | =...Return.output.(stdout.or.std |
0540 | 65 72 72 29 20 6f 66 20 65 78 65 63 75 74 69 6e 67 20 63 6d 64 20 69 6e 20 61 20 73 68 65 6c 6c | err).of.executing.cmd.in.a.shell |
0560 | 2e 69 01 00 00 00 28 01 00 00 00 52 02 00 00 00 28 01 00 00 00 74 03 00 00 00 63 6d 64 28 00 00 | .i....(....R....(....t....cmd(.. |
0580 | 00 00 28 00 00 00 00 73 4f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 | ..(....sO.../buildbot/tmp/buildh |
05a0 | 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 | ost/install/prebuilt/linux-x86_6 |
05c0 | 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e 70 79 52 03 00 00 00 | 4/lib/python2.7/commands.pyR.... |
05e0 | 30 00 00 00 73 02 00 00 00 00 02 63 01 00 00 00 05 00 00 00 03 00 00 00 43 00 00 00 73 7a 00 00 | 0...s......c............C...sz.. |
0600 | 00 64 01 00 64 02 00 6c 00 00 7d 01 00 7c 01 00 6a 01 00 64 03 00 7c 00 00 17 64 04 00 17 64 05 | .d..d..l..}..|..j..d..|...d...d. |
0620 | 00 83 02 00 7d 02 00 7c 02 00 6a 02 00 83 00 00 7d 03 00 7c 02 00 6a 03 00 83 00 00 7d 04 00 7c | ....}..|..j.....}..|..j.....}..| |
0640 | 04 00 64 02 00 6b 08 00 72 53 00 64 06 00 7d 04 00 6e 00 00 7c 03 00 64 01 00 1f 64 07 00 6b 02 | ..d..k..rS.d..}..n..|..d...d..k. |
0660 | 00 72 70 00 7c 03 00 64 01 00 20 7d 03 00 6e 00 00 7c 04 00 7c 03 00 66 02 00 53 28 08 00 00 00 | .rp.|..d...}..n..|..|..f..S(.... |
0680 | 73 34 00 00 00 52 65 74 75 72 6e 20 28 73 74 61 74 75 73 2c 20 6f 75 74 70 75 74 29 20 6f 66 20 | s4...Return.(status,.output).of. |
06a0 | 65 78 65 63 75 74 69 6e 67 20 63 6d 64 20 69 6e 20 61 20 73 68 65 6c 6c 2e 69 ff ff ff ff 4e 73 | executing.cmd.in.a.shell.i....Ns |
06c0 | 02 00 00 00 7b 20 73 08 00 00 00 3b 20 7d 20 32 3e 26 31 74 01 00 00 00 72 69 00 00 00 00 73 01 | ....{.s....;.}.2>&1t....ri....s. |
06e0 | 00 00 00 0a 28 05 00 00 00 74 02 00 00 00 6f 73 74 05 00 00 00 70 6f 70 65 6e 74 04 00 00 00 72 | ....(....t....ost....popent....r |
0700 | 65 61 64 74 05 00 00 00 63 6c 6f 73 65 74 04 00 00 00 4e 6f 6e 65 28 05 00 00 00 52 0a 00 00 00 | eadt....closet....None(....R.... |
0720 | 52 0c 00 00 00 74 04 00 00 00 70 69 70 65 74 04 00 00 00 74 65 78 74 74 03 00 00 00 73 74 73 28 | R....t....pipet....textt....sts( |
0740 | 00 00 00 00 28 00 00 00 00 73 4f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c | ....(....sO.../buildbot/tmp/buil |
0760 | 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 | dhost/install/prebuilt/linux-x86 |
0780 | 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e 70 79 52 02 00 | _64/lib/python2.7/commands.pyR.. |
07a0 | 00 00 38 00 00 00 73 12 00 00 00 00 02 0c 01 1a 01 0c 01 0c 01 0c 00 09 01 10 00 0d 01 63 02 00 | ..8...s......................c.. |
07c0 | 00 00 03 00 00 00 04 00 00 00 43 00 00 00 73 25 00 00 00 64 01 00 64 00 00 6c 00 00 7d 02 00 74 | ..........C...s%...d..d..l..}..t |
07e0 | 01 00 7c 02 00 6a 02 00 6a 03 00 7c 00 00 7c 01 00 83 02 00 83 01 00 53 28 02 00 00 00 4e 69 ff | ..|..j..j..|..|........S(....Ni. |
0800 | ff ff ff 28 04 00 00 00 52 0c 00 00 00 52 08 00 00 00 74 04 00 00 00 70 61 74 68 74 04 00 00 00 | ...(....R....R....t....patht.... |
0820 | 6a 6f 69 6e 28 03 00 00 00 74 04 00 00 00 68 65 61 64 74 01 00 00 00 78 52 0c 00 00 00 28 00 00 | join(....t....headt....xR....(.. |
0840 | 00 00 28 00 00 00 00 73 4f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 | ..(....sO.../buildbot/tmp/buildh |
0860 | 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 | ost/install/prebuilt/linux-x86_6 |
0880 | 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e 70 79 74 06 00 00 00 | 4/lib/python2.7/commands.pyt.... |
08a0 | 6d 6b 32 61 72 67 45 00 00 00 73 04 00 00 00 00 01 0c 01 63 01 00 00 00 03 00 00 00 03 00 00 00 | mk2argE...s........c............ |
08c0 | 43 00 00 00 73 60 00 00 00 64 01 00 7c 00 00 6b 07 00 72 18 00 64 02 00 7c 00 00 17 64 01 00 17 | C...s`...d..|..k..r..d..|...d... |
08e0 | 53 64 03 00 7d 01 00 78 31 00 7c 00 00 44 5d 29 00 7d 02 00 7c 02 00 64 04 00 6b 06 00 72 44 00 | Sd..}..x1.|..D]).}..|..d..k..rD. |
0900 | 7c 01 00 64 05 00 17 7d 01 00 6e 00 00 7c 01 00 7c 02 00 17 7d 01 00 71 25 00 57 7c 01 00 64 06 | |..d...}..n..|..|...}..q%.W|..d. |
0920 | 00 17 7d 01 00 7c 01 00 53 28 07 00 00 00 4e 73 01 00 00 00 27 73 02 00 00 00 20 27 73 02 00 00 | ..}..|..S(....Ns....'s.....'s... |
0940 | 00 20 22 73 04 00 00 00 5c 24 22 60 73 01 00 00 00 5c 74 01 00 00 00 22 28 00 00 00 00 28 03 00 | .."s....\$"`s....\t...."(....(.. |
0960 | 00 00 52 17 00 00 00 74 01 00 00 00 73 74 01 00 00 00 63 28 00 00 00 00 28 00 00 00 00 73 4f 00 | ..R....t....st....c(....(....sO. |
0980 | 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c | ../buildbot/tmp/buildhost/instal |
09a0 | 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 | l/prebuilt/linux-x86_64/lib/pyth |
09c0 | 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e 70 79 52 08 00 00 00 51 00 00 00 73 12 00 00 00 00 | on2.7/commands.pyR....Q...s..... |
09e0 | 01 0c 01 0c 01 06 01 0d 01 0c 01 0d 01 0e 01 0a 01 4e 28 09 00 00 00 74 07 00 00 00 5f 5f 64 6f | .................N(....t....__do |
0a00 | 63 5f 5f 52 05 00 00 00 52 00 00 00 00 74 07 00 00 00 5f 5f 61 6c 6c 5f 5f 52 04 00 00 00 52 03 | c__R....R....t....__all__R....R. |
0a20 | 00 00 00 52 02 00 00 00 52 18 00 00 00 52 08 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 | ...R....R....R....(....(....(... |
0a40 | 00 73 4f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e | .sO.../buildbot/tmp/buildhost/in |
0a60 | 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f | stall/prebuilt/linux-x86_64/lib/ |
0a80 | 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 6d 6d 61 6e 64 73 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c | python2.7/commands.pyt....<modul |
0aa0 | 65 3e 14 00 00 00 73 14 00 00 00 06 01 10 01 09 01 07 01 03 02 0f 0b 09 0b 09 08 09 0d 09 0c | e>....s........................ |