?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
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/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
#!/usr/bin/perl -w
## Demonstration of chatting with a bash shell.
use strict ;
use IPC::Run qw( start pump finish timeout ) ;
my ( $in, $out, $err ) ;
my $h = start(
[qw(sh -login -i )], \$in, \$out, \$err,
debug => 0,
timeout( 5 ),
) ;
## The first thing we do is to convert the user's prompt. Normally, we would
## do a '' as the first command in the for () loop so we could detect errors
## that bash might emit on startup. In this case, we need to do this
## initialization first so that we have a prompt to look for so we know that
## it's ready to accept input. This is all because the startup scripts
## that bash runs set PS1, and we can't have that.
$in = "PS1=' '\n" ;
## bash prompts on stderr. Consume everything before the first
## (which is the second prompt bash issues).
pump $h until $err =~ s/.*(?=^ (?!\n)\Z)//ms ;
for ( qw( ls ps fOoBaR pwd ) ) {
$in = $_ . "\n" ;
$out = '' ;
pump $h until $err =~ s/\A( .*)(?=^ (?!\n)\Z)//ms ;
print map { "sh err: $_\n" } split( /\n/m, $1 ) ;
print map { "sh: $_\n" } split( /\n/m, $out ) ;
}
finish $h ;