Created
September 2, 2015 12:35
-
-
Save jarib/713290ee6eb2d49d9fff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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