Make it possible to call Gitlab::Popen.popen
This commit is contained in:
		
							parent
							
								
									8016cefafe
								
							
						
					
					
						commit
						38f4b61a58
					
				|  | @ -3,6 +3,8 @@ require 'open3' | |||
| 
 | ||||
| module Gitlab | ||||
|   module Popen | ||||
|     extend self | ||||
| 
 | ||||
|     def popen(cmd, path=nil) | ||||
|       unless cmd.is_a?(Array) | ||||
|         raise "System commands must be given as an array of strings" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue