Skip to content

Commit

Permalink
Properly handle URLs passed from command line
Browse files Browse the repository at this point in the history
Previous, URL arguments passed from the command line were ignored (the
"url_list" attribute in Launcher class was unused). We now pass the list
to start-tor-browser which will open a tab with each URL.

Fix #380.
  • Loading branch information
Denis Laxalde committed Nov 5, 2019
1 parent 52a68a9 commit 21e3b13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torbrowser_launcher/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def run(self):

# Run Tor Browser
cmd = [self.common.paths['tbb']['start'], '--detach']
cmd.extend(self.url_list)
subprocess.call(cmd, cwd=self.common.paths['tbb']['dir_tbb'])
sys.exit(0)

Expand Down

0 comments on commit 21e3b13

Please sign in to comment.