Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
ó
m”þfc @ si d Z d d l m Z e d d d ƒ[ d d d g Z d „ Z d
„ Z d „ Z d „ Z d
„ Z d 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.]
iÿÿÿÿ( t warnpy3ksU the commands module has been removed in Python 3.0; use the subprocess module insteadt
stackleveli t getstatusoutputt getoutputt getstatusc C s3 d d l } | j d t d ƒ t d t | ƒ ƒ S( s- Return output of "ls -ld " in a string.iÿÿÿÿNs" commands.getstatus() is deprecatedi s ls -ld( t warningst warnt DeprecationWarningR t mkarg( t fileR ( ( s /usr/lib64/python2.7/commands.pyR % s c C s t | ƒ d S( s= Return output (stdout or stderr) of executing cmd in a shell.i ( R ( t cmd( ( s /usr/lib64/python2.7/commands.pyR 0 s c C sz d d l } | j d | d d ƒ } | j ƒ } | j ƒ } | d k rS d } n | d d k rp | d } n | | f S( s4 Return (status, output) of executing cmd in a shell.iÿÿÿÿNs { s ; } 2>&1t ri s
( t ost popent readt closet None( R
R t pipet textt sts( ( s /usr/lib64/python2.7/commands.pyR 8 s
c C s% d d l } t | j j | | ƒ ƒ S( Niÿÿÿÿ( R R t patht join( t headt xR ( ( s /usr/lib64/python2.7/commands.pyt mk2argE s c C s` d | k r d | d Sd } x1 | D]) } | d k rD | d } n | | } q% W| d } | S( Ns 's 's "s \$"`s \t "( ( R t st c( ( s /usr/lib64/python2.7/commands.pyR Q s
N( t __doc__R R t __all__R R R R R ( ( ( s /usr/lib64/python2.7/commands.pyt s