60 if ( $mode[0] ==
'r' ) {
61 $options =
'e -bd -so';
62 } elseif ( $mode[0] ==
'w' ) {
63 $options =
'a -bd -si';
67 $arg = Shell::escape( $this->stripPath(
$path ) );
68 $command =
"7za $options $arg";
71 $command .=
' 2>/dev/null';
74 $this->stream = popen( $command, $mode[0] );
75 return ( $this->stream !==
false );