mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	@@ -65,7 +65,7 @@ class Proc
 | 
				
			|||||||
        $env = null,
 | 
					        $env = null,
 | 
				
			||||||
        $blocking = false
 | 
					        $blocking = false
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        echo "Starting process: $cmd";
 | 
					        d_echo("Starting process: $cmd");
 | 
				
			||||||
        $this->_process = proc_open($cmd, $descriptorspec, $this->_pipes, $cwd, $env);
 | 
					        $this->_process = proc_open($cmd, $descriptorspec, $this->_pipes, $cwd, $env);
 | 
				
			||||||
        if (!is_resource($this->_process)) {
 | 
					        if (!is_resource($this->_process)) {
 | 
				
			||||||
            throw new Exception("Command failed: $cmd");
 | 
					            throw new Exception("Command failed: $cmd");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user