File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,6 @@ class Command
9797     */ 
9898    protected  $ _argsarray ();
9999
100-     /** 
101-      * @var string the full command string to execute 
102-      */ 
103-     protected  $ _execCommand
104- 
105100    /** 
106101     * @var string the stdout output 
107102     */ 
@@ -232,16 +227,14 @@ public function getCommand()
232227     */ 
233228    public  function  getExecCommand ()
234229    {
235-         if  ($ this _execCommand ===null ) {
236-             $ command$ this getCommand ();
237-             if  (!$ command
238-                 $ this _error  = 'Could not locate any executable command ' ;
239-                 return  false ;
240-             }
241-             $ args$ this getArgs ();
242-             $ this _execCommand  = $ args$ command'  ' .$ args$ command
230+         $ command$ this getCommand ();
231+         if  (!$ command
232+             $ this _error  = 'Could not locate any executable command ' ;
233+             return  false ;
243234        }
244-         return  $ this _execCommand ;
235+ 
236+         $ args$ this getArgs ();
237+         return  $ args$ command'  ' .$ args$ command
245238    }
246239
247240    /** 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments