yyoshiki41/radigo

Fix to open browse on Linux or Windows

haytok opened this issue · 0 comments

What version of radigo are you using (radigo --version)?

> radigo --version
v0.11.0 built with go1.17.6

The Problem

  • When I run the radigo rec command or the radigo browse-live command on Ubuntu 18.04 or Windows (Version 10.0.19043.1526), I get an error and cannot open the browser. Specifically, I get the following error.
> radigo browse -id=ABC -s=20220222010000
ERROR: Failed to open browser: exit status 1
> radigo browse-live -id=ABC
ERROR: Failed to open browser: exit status 1

The Cause

  • The problem may be due to the fact that the process of opening the browser in browse.go and browse_live.go uses open to execute an external command. This implementation can only perform the browser opening operation on macOS.

The Proposal

  • If you need a fix, can I modify the program so that it works on Linux and Windows?