BigW Consortium Gitlab

Commit 38f4b61a by Jacob Vosmaer

Make it possible to call Gitlab::Popen.popen

parent 8016cefa
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment