       @uninstallSession = sbawn
         cmd: cmd
         args: args
-        stdout: if opts.stdout? then opts.stdout  else false
+        stdout: if opts.stdout? then opts.stdout else false
         stderr: if opts.stderr? then opts.stderr else false
 
       @uninstallSession.on "exit", =>

      @startSession = sbawn
        cmd: cmd
        args: args
        stdout: if opts.stdout? then opts.stdout  else false
        stderr: if opts.stderr? then opts.stderr else false

      @startSession.on "exit", =>

      encodedJSONIPs = encodeURIComponent(JSON.stringify(ips))
      encodedPort = encodeURIComponent(port)

      launchUrl = "'appgyver://?ips=#{encodedJSONIPs}\&port=#{encodedPort}'"

      cmd = "#{@genymotionBasePath}/tools/adb"
      args = ["shell", "am", "start", "-n", "#{@applicationPackage}/#{@applicationActivity}", "-d", launchUrl]
