Skip to content

Instantly share code, notes, and snippets.

@jarib
Created September 2, 2015 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarib/713290ee6eb2d49d9fff to your computer and use it in GitHub Desktop.
Save jarib/713290ee6eb2d49d9fff to your computer and use it in GitHub Desktop.
module BrowserMob
module Proxy
class Server
def create_process
process = ChildProcess.new("cmd.exe", "/c", "#{@path} --port #{@port}")
process.leader = true
process.io.inherit! if @log
process
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment